#9B15CA#9B15CA

#9B15CA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.4% C 0.248 H 314.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9B15CA
RGBrgb(155, 21, 202)
HSLhsl(284, 81%, 44%)
HSVhsv(284, 90%, 79%)
CMYKcmyk(23.3%, 89.6%, 0%, 20.8%)
CIE-LABlab(40.85, 72.93, -63.03)
CIE-LCHlch(40.85, 96.40, 319.16°)
OKLaboklab(52.36% 0.1726 -0.1785)
OKLCHoklch(52.36% 0.248 314)
XYZxyz(24.4445, 11.7700, 56.8499)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B15CA #44CA15
analogous
#4015CA #9B15CA #CA159E
triadic
#9B15CA #CA9B15 #15CA9B
tetradic
#9B15CA #CA4015 #44CA15 #159ECA
square
#9B15CA #CA4015 #44CA15 #159ECA
split-complementary
#9B15CA #9ECA15 #15CA40
monochromatic
#46095B #700F93 #9B15CA #BA32EA #CD6AEF

Accessibility & contrast

On white

6.26
#9B15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B15CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B15CA#FFFFFF#000000##FFFFFF
##9B15CA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#964A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b15ca;
/* rgb */ color: rgb(155, 21, 202);
/* oklch */ color: oklch(52.4% 0.248 314.0);
Tailwind
colors: {
  custom: {
    50: '#be6bdb',
    500: '#9b15ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b15ca;
$custom-light: #be6bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b15ca",
  "rgb": {
    "r": 155,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 284.42,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.24834,
    "h": 314
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#9B15CA
secondary
#83D566
accent
#F83064
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9B15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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