#9F3DC4#9F3DC4

#9F3DC4 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.209 H 315.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9F3DC4
RGBrgb(159, 61, 196)
HSLhsl(284, 53%, 50%)
HSVhsv(284, 69%, 77%)
CMYKcmyk(18.9%, 68.9%, 0%, 23.1%)
CIE-LABlab(45.21, 60.43, -52.46)
CIE-LCHlch(45.21, 80.02, 319.04°)
OKLaboklab(55.42% 0.1485 -0.1476)
OKLCHoklch(55.42% 0.209 315.2)
XYZxyz(25.9290, 14.6949, 53.6844)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DC4 #62C43D
analogous
#5C3DC4 #9F3DC4 #C43DA5
triadic
#9F3DC4 #C49F3D #3DC49F
tetradic
#9F3DC4 #C45C3D #62C43D #3DA5C4
square
#9F3DC4 #C45C3D #62C43D #3DA5C4
split-complementary
#9F3DC4 #A5C43D #3DC45C
monochromatic
#541F67 #7A2E96 #9F3DC4 #B66CD2 #CD9BE1

Accessibility & contrast

On white

5.33
#9F3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9F3DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DC4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DC4#FFFFFF#000000##FFFFFF
##9F3DC41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#3A6EC1
Tritanopia (blue-blind)
#9C587C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3dc4;
/* rgb */ color: rgb(159, 61, 196);
/* oklch */ color: oklch(55.4% 0.209 315.2);
Tailwind
colors: {
  custom: {
    50: '#bf7ad6',
    500: '#9f3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dc4;
$custom-light: #bf7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dc4",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 283.556,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.20942,
    "h": 315.2
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#9F3DC4
secondary
#A1CD90
accent
#DD4B73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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