#9F36CF#9F36CF

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

Color values

HEX#9F36CF
RGBrgb(159, 54, 207)
HSLhsl(281, 61%, 51%)
HSVhsv(281, 74%, 81%)
CMYKcmyk(23.2%, 73.9%, 0%, 18.8%)
CIE-LABlab(44.96, 65.42, -59.23)
CIE-LCHlch(44.96, 88.25, 317.84°)
OKLaboklab(55.47% 0.1542 -0.1674)
OKLCHoklch(55.47% 0.228 312.6)
XYZxyz(26.8777, 14.5150, 60.4052)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36CF #66CF36
analogous
#5236CF #9F36CF #CF36B3
triadic
#9F36CF #CF9F36 #36CF9F
tetradic
#9F36CF #CF5236 #66CF36 #36B3CF
square
#9F36CF #CF5236 #66CF36 #36B3CF
split-complementary
#9F36CF #B3CF36 #36CF52
monochromatic
#551B70 #7B27A1 #9F36CF #B767DB #CE99E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F36CF#FFFFFF#000000##FFFFFF
##9F36CF1.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)
#0065D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#9A5980
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f36cf;
/* rgb */ color: rgb(159, 54, 207);
/* oklch */ color: oklch(55.5% 0.228 312.6);
Tailwind
colors: {
  custom: {
    50: '#c077de',
    500: '#9f36cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f36cf;
$custom-light: #c077de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36cf",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 281.176,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.22762,
    "h": 312.6
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#9F36CF
secondary
#A4D28F
accent
#E54376
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F36CF

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

Preview Lab → · Contrast checker → · Palette generator →

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