#9F3DCD#9F3DCD

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

Color values

HEX#9F3DCD
RGBrgb(159, 61, 205)
HSLhsl(281, 59%, 52%)
HSVhsv(281, 70%, 80%)
CMYKcmyk(22.4%, 70.2%, 0%, 19.6%)
CIE-LABlab(45.79, 62.27, -56.73)
CIE-LCHlch(45.79, 84.24, 317.66°)
OKLaboklab(56.02% 0.1477 -0.1602)
OKLCHoklch(56.02% 0.218 312.7)
XYZxyz(26.9843, 15.1170, 59.2422)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DCD #6BCD3D
analogous
#573DCD #9F3DCD #CD3DB3
triadic
#9F3DCD #CD9F3D #3DCD9F
tetradic
#9F3DCD #CD573D #6BCD3D #3DB3CD
square
#9F3DCD #CD573D #6BCD3D #3DB3CD
split-complementary
#9F3DCD #B3CD3D #3DCD57
monochromatic
#571D72 #7C2AA3 #9F3DCD #B76EDA #CF9EE6

Accessibility & contrast

On white

5.22
#9F3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9F3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DCD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DCD#FFFFFF#000000##FFFFFF
##9F3DCD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f3dcd;
/* rgb */ color: rgb(159, 61, 205);
/* oklch */ color: oklch(56.0% 0.218 312.7);
Tailwind
colors: {
  custom: {
    50: '#c07bdd',
    500: '#9f3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dcd;
$custom-light: #c07bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dcd",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 280.833,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.21787,
    "h": 312.7
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#9F3DCD
secondary
#A8D293
accent
#E24678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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