#9F3DCE#9F3DCE

#9F3DCE is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.219 H 312.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9F3DCE
RGBrgb(159, 61, 206)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 70%, 81%)
CMYKcmyk(22.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(45.86, 62.47, -57.20)
CIE-LCHlch(45.86, 84.71, 317.52°)
OKLaboklab(56.09% 0.1476 -0.1615)
OKLCHoklch(56.09% 0.219 312.4)
XYZxyz(27.1054, 15.1654, 59.8799)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DCE #6CCE3D
analogous
#573DCE #9F3DCE #CE3DB4
triadic
#9F3DCE #CE9F3D #3DCE9F
tetradic
#9F3DCE #CE573D #6CCE3D #3DB4CE
square
#9F3DCE #CE573D #6CCE3D #3DB4CE
split-complementary
#9F3DCE #B4CE3D #3DCE57
monochromatic
#571D73 #7C29A4 #9F3DCE #B76EDA #CF9FE7

Accessibility & contrast

On white

5.21
#9F3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9F3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DCE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DCE#FFFFFF#000000##FFFFFF
##9F3DCE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#9A5C82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3dce;
/* rgb */ color: rgb(159, 61, 206);
/* oklch */ color: oklch(56.1% 0.219 312.4);
Tailwind
colors: {
  custom: {
    50: '#c07bde',
    500: '#9f3dce',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dce;
$custom-light: #c07bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dce",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 280.552,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.21881,
    "h": 312.4
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#9F3DCE
secondary
#A8D394
accent
#E34578
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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