#9F3DCC#9F3DCC

#9F3DCC is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.217 H 313.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F3DCC
RGBrgb(159, 61, 204)
HSLhsl(281, 58%, 52%)
HSVhsv(281, 70%, 80%)
CMYKcmyk(22.1%, 70.1%, 0%, 20%)
CIE-LABlab(45.73, 62.06, -56.26)
CIE-LCHlch(45.73, 83.77, 317.81°)
OKLaboklab(55.95% 0.1478 -0.1588)
OKLCHoklch(55.95% 0.217 313)
XYZxyz(26.8640, 15.0688, 58.6085)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DCC #6ACC3D
analogous
#583DCC #9F3DCC #CC3DB1
triadic
#9F3DCC #CC9F3D #3DCC9F
tetradic
#9F3DCC #CC583D #6ACC3D #3DB1CC
square
#9F3DCC #CC583D #6ACC3D #3DB1CC
split-complementary
#9F3DCC #B1CC3D #3DCC58
monochromatic
#571E71 #7C2AA1 #9F3DCC #B76DD9 #CF9EE5

Accessibility & contrast

On white

5.23
#9F3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9F3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DCC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DCC#FFFFFF#000000##FFFFFF
##9F3DCC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#306EC9
Tritanopia (blue-blind)
#9A5B80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3dcc;
/* rgb */ color: rgb(159, 61, 204);
/* oklch */ color: oklch(56.0% 0.217 313.0);
Tailwind
colors: {
  custom: {
    50: '#c07bdc',
    500: '#9f3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dcc;
$custom-light: #c07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dcc",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 281.119,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.21693,
    "h": 313
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#9F3DCC
secondary
#A7D293
accent
#E24677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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