#9F3CBD#9F3CBD

#9F3CBD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.204 H 317.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9F3CBD
RGBrgb(159, 60, 189)
HSLhsl(286, 52%, 49%)
HSVhsv(286, 68%, 74%)
CMYKcmyk(15.9%, 68.3%, 0%, 25.9%)
CIE-LABlab(44.63, 59.45, -49.32)
CIE-LCHlch(44.63, 77.24, 320.32°)
OKLaboklab(54.86% 0.1501 -0.1384)
OKLCHoklch(54.86% 0.204 317.3)
XYZxyz(25.0979, 14.2778, 49.5681)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CBD #5ABD3C
analogous
#5F3CBD #9F3CBD #BD3C9B
triadic
#9F3CBD #BD9F3C #3CBD9F
tetradic
#9F3CBD #BD5F3C #5ABD3C #3C9BBD
square
#9F3CBD #BD5F3C #5ABD3C #3C9BBD
split-complementary
#9F3CBD #9BBD3C #3CBD5F
monochromatic
#511F60 #782D8F #9F3CBD #B767CF #CD96DE

Accessibility & contrast

On white

5.45
#9F3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9F3CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CBD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CBD#FFFFFF#000000##FFFFFF
##9F3CBD1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3F6DBA
Tritanopia (blue-blind)
#9E5578
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3cbd;
/* rgb */ color: rgb(159, 60, 189);
/* oklch */ color: oklch(54.9% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#bf7ad1',
    500: '#9f3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cbd;
$custom-light: #bf7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cbd",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 286.047,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.20417,
    "h": 317.3
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#9F3CBD
secondary
#9AC98C
accent
#DB4D6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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