#9F3DC0#9F3DC0

#9F3DC0 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.206 H 316.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F3DC0
RGBrgb(159, 61, 192)
HSLhsl(285, 52%, 50%)
HSVhsv(285, 68%, 75%)
CMYKcmyk(17.2%, 68.2%, 0%, 24.7%)
CIE-LABlab(44.96, 59.62, -50.54)
CIE-LCHlch(44.96, 78.16, 319.72°)
OKLaboklab(55.16% 0.1488 -0.142)
OKLCHoklch(55.16% 0.206 316.3)
XYZxyz(25.4798, 14.5152, 51.3185)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DC0 #5EC03D
analogous
#5D3DC0 #9F3DC0 #C03DA0
triadic
#9F3DC0 #C09F3D #3DC09F
tetradic
#9F3DC0 #C05D3D #5EC03D #3DA0C0
square
#9F3DC0 #C05D3D #5EC03D #3DA0C0
split-complementary
#9F3DC0 #A0C03D #3DC05D
monochromatic
#521F63 #792E92 #9F3DC0 #B66AD0 #CD99DF

Accessibility & contrast

On white

5.38
#9F3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9F3DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DC0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DC0#FFFFFF#000000##FFFFFF
##9F3DC01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#9D567A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3dc0;
/* rgb */ color: rgb(159, 61, 192);
/* oklch */ color: oklch(55.2% 0.206 316.3);
Tailwind
colors: {
  custom: {
    50: '#bf7ad4',
    500: '#9f3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dc0;
$custom-light: #bf7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dc0",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 284.885,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55161,
    "c": 0.20569,
    "h": 316.3
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#9F3DC0
secondary
#9ECA8E
accent
#DB4D71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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