#9F3BCC#9F3BCC

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

Color values

HEX#9F3BCC
RGBrgb(159, 59, 204)
HSLhsl(281, 59%, 52%)
HSVhsv(281, 71%, 80%)
CMYKcmyk(22.1%, 71.1%, 0%, 20%)
CIE-LABlab(45.44, 62.87, -56.73)
CIE-LCHlch(45.44, 84.68, 317.94°)
OKLaboklab(55.75% 0.1498 -0.1601)
OKLCHoklch(55.75% 0.219 313.1)
XYZxyz(26.7592, 14.8593, 58.5736)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BCC #68CC3B
analogous
#573BCC #9F3BCC #CC3BB1
triadic
#9F3BCC #CC9F3B #3BCC9F
tetradic
#9F3BCC #CC573B #68CC3B #3BB1CC
square
#9F3BCC #CC573B #68CC3B #3BB1CC
split-complementary
#9F3BCC #B1CC3B #3BCC57
monochromatic
#561D70 #7B2AA0 #9F3BCC #B76CD9 #CF9CE5

Accessibility & contrast

On white

5.29
#9F3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9F3BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BCC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BCC#FFFFFF#000000##FFFFFF
##9F3BCC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#9A5A80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3bcc;
/* rgb */ color: rgb(159, 59, 204);
/* oklch */ color: oklch(55.7% 0.219 313.1);
Tailwind
colors: {
  custom: {
    50: '#c07adc',
    500: '#9f3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bcc;
$custom-light: #c07adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bcc",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 281.379,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.21929,
    "h": 313.1
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#9F3BCC
secondary
#A5D192
accent
#E24676
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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