#9F3DC8#9F3DC8

#9F3DC8 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.213 H 314.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9F3DC8
RGBrgb(159, 61, 200)
HSLhsl(282, 56%, 51%)
HSVhsv(282, 70%, 78%)
CMYKcmyk(20.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(45.47, 61.24, -54.37)
CIE-LCHlch(45.47, 81.89, 318.40°)
OKLaboklab(55.68% 0.1482 -0.1532)
OKLCHoklch(55.68% 0.213 314)
XYZxyz(26.3904, 14.8794, 56.1142)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DC8 #66C83D
analogous
#593DC8 #9F3DC8 #C83DAB
triadic
#9F3DC8 #C89F3D #3DC89F
tetradic
#9F3DC8 #C8593D #66C83D #3DABC8
square
#9F3DC8 #C8593D #66C83D #3DABC8
split-complementary
#9F3DC8 #ABC83D #3DC859
monochromatic
#551F6C #7B2C9C #9F3DC8 #B76DD6 #CE9CE3

Accessibility & contrast

On white

5.28
#9F3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9F3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DC8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DC8#FFFFFF#000000##FFFFFF
##9F3DC81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#356EC5
Tritanopia (blue-blind)
#9B5A7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3dc8;
/* rgb */ color: rgb(159, 61, 200);
/* oklch */ color: oklch(55.7% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bd9',
    500: '#9f3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dc8;
$custom-light: #bf7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dc8",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 282.302,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.21317,
    "h": 314
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#9F3DC8
secondary
#A4CF92
accent
#DF4975
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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