#9D36D3#9D36D3

#9D36D3 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.5% C 0.231 H 310.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D36D3
RGBrgb(157, 54, 211)
HSLhsl(279, 64%, 52%)
HSVhsv(279, 74%, 83%)
CMYKcmyk(25.6%, 74.4%, 0%, 17.3%)
CIE-LABlab(44.96, 65.86, -61.56)
CIE-LCHlch(44.96, 90.15, 316.93°)
OKLaboklab(55.5% 0.151 -0.1743)
OKLCHoklch(55.5% 0.231 310.9)
XYZxyz(26.9794, 14.5102, 62.9949)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36D3 #6CD336
analogous
#4F36D3 #9D36D3 #D336BB
triadic
#9D36D3 #D39D36 #36D39D
tetradic
#9D36D3 #D34F36 #6CD336 #36BBD3
square
#9D36D3 #D34F36 #6CD336 #36BBD3
split-complementary
#9D36D3 #BBD336 #36D34F
monochromatic
#561A75 #7A25A7 #9D36D3 #B568DE #CE9AE9

Accessibility & contrast

On white

5.38
#9D36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D36D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36D3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36D3#FFFFFF#000000##FFFFFF
##9D36D31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#146CD0
Tritanopia (blue-blind)
#965B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d36d3;
/* rgb */ color: rgb(157, 54, 211);
/* oklch */ color: oklch(55.5% 0.231 310.9);
Tailwind
colors: {
  custom: {
    50: '#bf77e1',
    500: '#9d36d3',
    950: '#000000',
  },
}
SCSS
$custom: #9d36d3;
$custom-light: #bf77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36d3",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 279.363,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.23064,
    "h": 310.9
  },
  "luminance": 0.1451
}

Semantic roles & 50–950 ramp

primary
#9D36D3
secondary
#A8D590
accent
#E7417A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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