#9F15CA#9F15CA

#9F15CA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.9% C 0.249 H 315.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9F15CA
RGBrgb(159, 21, 202)
HSLhsl(286, 81%, 44%)
HSVhsv(286, 90%, 79%)
CMYKcmyk(21.3%, 89.6%, 0%, 20.8%)
CIE-LABlab(41.49, 73.52, -61.96)
CIE-LCHlch(41.49, 96.15, 319.88°)
OKLaboklab(52.93% 0.1776 -0.1753)
OKLCHoklch(52.93% 0.25 315.4)
XYZxyz(25.2252, 12.1725, 56.8864)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F15CA #40CA15
analogous
#4415CA #9F15CA #CA159A
triadic
#9F15CA #CA9F15 #15CA9F
tetradic
#9F15CA #CA4415 #40CA15 #159ACA
square
#9F15CA #CA4415 #40CA15 #159ACA
split-complementary
#9F15CA #9ACA15 #15CA44
monochromatic
#48095B #730F93 #9F15CA #BE32EA #D06AEF

Accessibility & contrast

On white

6.11
#9F15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9F15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F15CA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F15CA#FFFFFF#000000##FFFFFF
##9F15CA1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#9B4978
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f15ca;
/* rgb */ color: rgb(159, 21, 202);
/* oklch */ color: oklch(52.9% 0.249 315.4);
Tailwind
colors: {
  custom: {
    50: '#c16cdb',
    500: '#9f15ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f15ca;
$custom-light: #c16cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f15ca",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 285.746,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.2495,
    "h": 315.4
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#9F15CA
secondary
#80D566
accent
#F83060
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9F15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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