#9F3BC8#9F3BC8

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

Color values

HEX#9F3BC8
RGBrgb(159, 59, 200)
HSLhsl(283, 56%, 51%)
HSVhsv(283, 71%, 78%)
CMYKcmyk(20.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(45.18, 62.06, -54.84)
CIE-LCHlch(45.18, 82.81, 318.54°)
OKLaboklab(55.48% 0.1503 -0.1546)
OKLCHoklch(55.48% 0.216 314.2)
XYZxyz(26.2856, 14.6699, 56.0793)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BC8 #64C83B
analogous
#583BC8 #9F3BC8 #C83BAA
triadic
#9F3BC8 #C89F3B #3BC89F
tetradic
#9F3BC8 #C8583B #64C83B #3BAAC8
square
#9F3BC8 #C8583B #64C83B #3BAAC8
split-complementary
#9F3BC8 #AAC83B #3BC858
monochromatic
#541E6B #7A2B9A #9F3BC8 #B66BD5 #CE9BE3

Accessibility & contrast

On white

5.34
#9F3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9F3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BC8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BC8#FFFFFF#000000##FFFFFF
##9F3BC81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#336DC5
Tritanopia (blue-blind)
#9B597E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3bc8;
/* rgb */ color: rgb(159, 59, 200);
/* oklch */ color: oklch(55.5% 0.216 314.2);
Tailwind
colors: {
  custom: {
    50: '#bf79d9',
    500: '#9f3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bc8;
$custom-light: #bf79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bc8",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 282.553,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55477,
    "c": 0.21558,
    "h": 314.2
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#9F3BC8
secondary
#A2CF90
accent
#DF4874
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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