#9D36D7#9D36D7

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

Color values

HEX#9D36D7
RGBrgb(157, 54, 215)
HSLhsl(278, 67%, 53%)
HSVhsv(278, 75%, 84%)
CMYKcmyk(27%, 74.9%, 0%, 15.7%)
CIE-LABlab(45.24, 66.69, -63.39)
CIE-LCHlch(45.24, 92.01, 316.45°)
OKLaboklab(55.79% 0.1503 -0.1797)
OKLCHoklch(55.79% 0.234 309.9)
XYZxyz(27.4871, 14.7133, 65.6688)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36D7 #70D736
analogous
#4C36D7 #9D36D7 #D736C1
triadic
#9D36D7 #D79D36 #36D79D
tetradic
#9D36D7 #D74C36 #70D736 #36C1D7
square
#9D36D7 #D74C36 #70D736 #36C1D7
split-complementary
#9D36D7 #C1D736 #36D74C
monochromatic
#57187A #7B22AD #9D36D7 #B669E1 #CF9CEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D36D7#FFFFFF#000000##FFFFFF
##9D36D71.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)
#0067DB
Deuteranopia (green-blind)
#026DD4
Tritanopia (blue-blind)
#955C85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d36d7;
/* rgb */ color: rgb(157, 54, 215);
/* oklch */ color: oklch(55.8% 0.234 309.9);
Tailwind
colors: {
  custom: {
    50: '#bf77e4',
    500: '#9d36d7',
    950: '#000000',
  },
}
SCSS
$custom: #9d36d7;
$custom-light: #bf77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36d7",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 278.385,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.23429,
    "h": 309.9
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#9D36D7
secondary
#ABD792
accent
#EA3E7C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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