#7334C5#7334C5

#7334C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.210 H 297.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7334C5
RGBrgb(115, 52, 197)
HSLhsl(266, 58%, 49%)
HSVhsv(266, 74%, 77%)
CMYKcmyk(41.6%, 73.6%, 0%, 22.7%)
CIE-LABlab(38.08, 56.01, -64.88)
CIE-LCHlch(38.08, 85.71, 310.81°)
OKLaboklab(49.13% 0.0983 -0.1855)
OKLCHoklch(49.13% 0.21 297.9)
XYZxyz(18.3737, 10.1317, 53.8001)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334C5 #86C534
analogous
#343EC5 #7334C5 #BC34C5
triadic
#7334C5 #C57334 #34C573
tetradic
#7334C5 #C5343E #86C534 #34C5BC
square
#7334C5 #C5343E #86C534 #34C5BC
split-complementary
#7334C5 #C5BC34 #3EC534
monochromatic
#3A1A64 #572795 #7334C5 #9361D5 #B491E2

Accessibility & contrast

On white

6.94
#7334C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7334C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7334C5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334C5#FFFFFF#000000##FFFFFF
##7334C51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#5E597A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7334c5;
/* rgb */ color: rgb(115, 52, 197);
/* oklch */ color: oklch(49.1% 0.210 297.9);
Tailwind
colors: {
  custom: {
    50: '#a271d8',
    500: '#7334c5',
    950: '#000000',
  },
}
SCSS
$custom: #7334c5;
$custom-light: #a271d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7334c5",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 266.069,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.20994,
    "h": 297.9
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#7334C5
secondary
#AFCD88
accent
#E1469E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7334C5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7334C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva