#9F3DC9#9F3DC9

#9F3DC9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.214 H 313.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9F3DC9
RGBrgb(159, 61, 201)
HSLhsl(282, 56%, 51%)
HSVhsv(282, 70%, 79%)
CMYKcmyk(20.9%, 69.7%, 0%, 21.2%)
CIE-LABlab(45.53, 61.44, -54.84)
CIE-LCHlch(45.53, 82.36, 318.25°)
OKLaboklab(55.75% 0.1481 -0.1546)
OKLCHoklch(55.75% 0.214 313.8)
XYZxyz(26.5076, 14.9263, 56.7317)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DC9 #67C93D
analogous
#593DC9 #9F3DC9 #C93DAD
triadic
#9F3DC9 #C99F3D #3DC99F
tetradic
#9F3DC9 #C9593D #67C93D #3DADC9
square
#9F3DC9 #C9593D #67C93D #3DADC9
split-complementary
#9F3DC9 #ADC93D #3DC959
monochromatic
#561E6D #7B2C9D #9F3DC9 #B76DD6 #CE9DE4

Accessibility & contrast

On white

5.27
#9F3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9F3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DC9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DC9#FFFFFF#000000##FFFFFF
##9F3DC91.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#346EC6
Tritanopia (blue-blind)
#9B5A7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3dc9;
/* rgb */ color: rgb(159, 61, 201);
/* oklch */ color: oklch(55.8% 0.214 313.8);
Tailwind
colors: {
  custom: {
    50: '#bf7bda',
    500: '#9f3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dc9;
$custom-light: #bf7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dc9",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 282,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.21411,
    "h": 313.8
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#9F3DC9
secondary
#A5D092
accent
#E04876
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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