#9F3CCD#9F3CCD

#9F3CCD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.219 H 312.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9F3CCD
RGBrgb(159, 60, 205)
HSLhsl(281, 59%, 52%)
HSVhsv(281, 71%, 80%)
CMYKcmyk(22.4%, 70.7%, 0%, 19.6%)
CIE-LABlab(45.65, 62.67, -56.97)
CIE-LCHlch(45.65, 84.70, 317.73°)
OKLaboklab(55.92% 0.1487 -0.1608)
OKLCHoklch(55.92% 0.219 312.8)
XYZxyz(26.9314, 15.0112, 59.2245)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CCD #6ACD3C
analogous
#573CCD #9F3CCD #CD3CB2
triadic
#9F3CCD #CD9F3C #3CCD9F
tetradic
#9F3CCD #CD573C #6ACD3C #3CB2CD
square
#9F3CCD #CD573C #6ACD3C #3CB2CD
split-complementary
#9F3CCD #B2CD3C #3CCD57
monochromatic
#571D71 #7C2AA2 #9F3CCD #B76DD9 #CF9DE6

Accessibility & contrast

On white

5.25
#9F3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9F3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CCD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CCD#FFFFFF#000000##FFFFFF
##9F3CCD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#9A5B81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3ccd;
/* rgb */ color: rgb(159, 60, 205);
/* oklch */ color: oklch(55.9% 0.219 312.8);
Tailwind
colors: {
  custom: {
    50: '#c07add',
    500: '#9f3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ccd;
$custom-light: #c07add;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ccd",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 280.966,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.21905,
    "h": 312.8
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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