#9F36CD#9F36CD

#9F36CD is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.226 H 313.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9F36CD
RGBrgb(159, 54, 205)
HSLhsl(282, 60%, 51%)
HSVhsv(282, 74%, 80%)
CMYKcmyk(22.4%, 73.7%, 0%, 19.6%)
CIE-LABlab(44.83, 65.01, -58.30)
CIE-LCHlch(44.83, 87.32, 318.12°)
OKLaboklab(55.33% 0.1545 -0.1647)
OKLCHoklch(55.33% 0.226 313.2)
XYZxyz(26.6347, 14.4179, 59.1257)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36CD #64CD36
analogous
#5336CD #9F36CD #CD36AF
triadic
#9F36CD #CD9F36 #36CD9F
tetradic
#9F36CD #CD5336 #64CD36 #36AFCD
square
#9F36CD #CD5336 #64CD36 #36AFCD
split-complementary
#9F36CD #AFCD36 #36CD53
monochromatic
#541B6D #7A279E #9F36CD #B667D9 #CE98E5

Accessibility & contrast

On white

5.41
#9F36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9F36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36CD#FFFFFF#000000##FFFFFF
##9F36CD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#276CCA
Tritanopia (blue-blind)
#9A587F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f36cd;
/* rgb */ color: rgb(159, 54, 205);
/* oklch */ color: oklch(55.3% 0.226 313.2);
Tailwind
colors: {
  custom: {
    50: '#c077dd',
    500: '#9f36cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f36cd;
$custom-light: #c077dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36cd",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 281.722,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.22582,
    "h": 313.2
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#9F36CD
secondary
#A2D18E
accent
#E34475
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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