#9F3DC5#9F3DC5

#9F3DC5 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.210 H 314.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9F3DC5
RGBrgb(159, 61, 197)
HSLhsl(283, 54%, 51%)
HSVhsv(283, 69%, 77%)
CMYKcmyk(19.3%, 69%, 0%, 22.7%)
CIE-LABlab(45.28, 60.63, -52.94)
CIE-LCHlch(45.28, 80.49, 318.87°)
OKLaboklab(55.49% 0.1485 -0.149)
OKLCHoklch(55.49% 0.21 314.9)
XYZxyz(26.0432, 14.7405, 54.2858)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DC5 #63C53D
analogous
#5B3DC5 #9F3DC5 #C53DA7
triadic
#9F3DC5 #C59F3D #3DC59F
tetradic
#9F3DC5 #C55B3D #63C53D #3DA7C5
square
#9F3DC5 #C55B3D #63C53D #3DA7C5
split-complementary
#9F3DC5 #A7C53D #3DC55B
monochromatic
#541F68 #7A2D98 #9F3DC5 #B66CD3 #CE9BE1

Accessibility & contrast

On white

5.32
#9F3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9F3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DC5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DC5#FFFFFF#000000##FFFFFF
##9F3DC51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#9C587D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3dc5;
/* rgb */ color: rgb(159, 61, 197);
/* oklch */ color: oklch(55.5% 0.210 314.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ad7',
    500: '#9f3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dc5;
$custom-light: #bf7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dc5",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 283.235,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.21036,
    "h": 314.9
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#9F3DC5
secondary
#A2CD91
accent
#DD4A74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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