#9D34DA#9D34DA

#9D34DA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.8% C 0.239 H 309.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9D34DA
RGBrgb(157, 52, 218)
HSLhsl(278, 69%, 53%)
HSVhsv(278, 76%, 85%)
CMYKcmyk(28%, 76.1%, 0%, 14.5%)
CIE-LABlab(45.20, 68.04, -65.17)
CIE-LCHlch(45.20, 94.21, 316.23°)
OKLaboklab(55.83% 0.1514 -0.185)
OKLCHoklch(55.83% 0.239 309.3)
XYZxyz(27.7849, 14.6866, 67.6872)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34DA #71DA34
analogous
#4A34DA #9D34DA #DA34C4
triadic
#9D34DA #DA9D34 #34DA9D
tetradic
#9D34DA #DA4A34 #71DA34 #34C4DA
square
#9D34DA #DA4A34 #71DA34 #34C4DA
split-complementary
#9D34DA #C4DA34 #34DA4A
monochromatic
#57177D #7C20B1 #9D34DA #B668E3 #CF9CED

Accessibility & contrast

On white

5.33
#9D34DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9D34DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34DA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34DA#FFFFFF#000000##FFFFFF
##9D34DA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#945D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d34da;
/* rgb */ color: rgb(157, 52, 218);
/* oklch */ color: oklch(55.8% 0.239 309.3);
Tailwind
colors: {
  custom: {
    50: '#bf77e6',
    500: '#9d34da',
    950: '#000000',
  },
}
SCSS
$custom: #9d34da;
$custom-light: #bf77e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34da",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 218
  },
  "hsl": {
    "h": 277.952,
    "s": 69.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.23904,
    "h": 309.3
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#9D34DA
secondary
#ABD991
accent
#EC3C7D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9D34DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D34DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva