#9F3BCE#9F3BCE

#9F3BCE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.221 H 312.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F3BCE
RGBrgb(159, 59, 206)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 71%, 81%)
CMYKcmyk(22.8%, 71.4%, 0%, 19.2%)
CIE-LABlab(45.57, 63.28, -57.67)
CIE-LCHlch(45.57, 85.62, 317.66°)
OKLaboklab(55.88% 0.1496 -0.1629)
OKLCHoklch(55.88% 0.221 312.6)
XYZxyz(27.0006, 14.9559, 59.8450)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BCE #6ACE3B
analogous
#553BCE #9F3BCE #CE3BB4
triadic
#9F3BCE #CE9F3B #3BCE9F
tetradic
#9F3BCE #CE553B #6ACE3B #3BB4CE
square
#9F3BCE #CE553B #6ACE3B #3BB4CE
split-complementary
#9F3BCE #B4CE3B #3BCE55
monochromatic
#571D72 #7C29A3 #9F3BCE #B76CDA #CF9DE6

Accessibility & contrast

On white

5.26
#9F3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9F3BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BCE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BCE#FFFFFF#000000##FFFFFF
##9F3BCE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#9A5B81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3bce;
/* rgb */ color: rgb(159, 59, 206);
/* oklch */ color: oklch(55.9% 0.221 312.6);
Tailwind
colors: {
  custom: {
    50: '#c07ade',
    500: '#9f3bce',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bce;
$custom-light: #c07ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bce",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 280.816,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.22114,
    "h": 312.6
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#9F3BCE
secondary
#A7D392
accent
#E34577
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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