#9F3DC2#9F3DC2

#9F3DC2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.208 H 315.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9F3DC2
RGBrgb(159, 61, 194)
HSLhsl(284, 52%, 50%)
HSVhsv(284, 69%, 76%)
CMYKcmyk(18%, 68.6%, 0%, 23.9%)
CIE-LABlab(45.09, 60.03, -51.50)
CIE-LCHlch(45.09, 79.09, 319.37°)
OKLaboklab(55.29% 0.1487 -0.1448)
OKLCHoklch(55.29% 0.208 315.8)
XYZxyz(25.7029, 14.6044, 52.4935)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DC2 #60C23D
analogous
#5D3DC2 #9F3DC2 #C23DA2
triadic
#9F3DC2 #C29F3D #3DC29F
tetradic
#9F3DC2 #C25D3D #60C23D #3DA2C2
square
#9F3DC2 #C25D3D #60C23D #3DA2C2
split-complementary
#9F3DC2 #A2C23D #3DC25D
monochromatic
#532065 #792E93 #9F3DC2 #B66CD1 #CD9ADF

Accessibility & contrast

On white

5.36
#9F3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9F3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DC2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DC2#FFFFFF#000000##FFFFFF
##9F3DC21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3C6DBF
Tritanopia (blue-blind)
#9D577B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3dc2;
/* rgb */ color: rgb(159, 61, 194);
/* oklch */ color: oklch(55.3% 0.208 315.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ad5',
    500: '#9f3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dc2;
$custom-light: #bf7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dc2",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 284.211,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.20756,
    "h": 315.8
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#9F3DC2
secondary
#9FCB90
accent
#DC4C72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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