#9815CA#9815CA

#9815CA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.9% C 0.247 H 313.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9815CA
RGBrgb(152, 21, 202)
HSLhsl(283, 81%, 44%)
HSVhsv(283, 90%, 79%)
CMYKcmyk(24.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(40.37, 72.50, -63.83)
CIE-LCHlch(40.37, 96.59, 318.64°)
OKLaboklab(51.93% 0.1688 -0.181)
OKLCHoklch(51.93% 0.248 313)
XYZxyz(23.8758, 11.4768, 56.8232)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9815CA #47CA15
analogous
#3D15CA #9815CA #CA15A1
triadic
#9815CA #CA9815 #15CA98
tetradic
#9815CA #CA3D15 #47CA15 #15A1CA
square
#9815CA #CA3D15 #47CA15 #15A1CA
split-complementary
#9815CA #A1CA15 #15CA3D
monochromatic
#45095B #6E0F93 #9815CA #B732EA #CB6AEF

Accessibility & contrast

On white

6.37
#9815CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9815CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9815CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9815CA#FFFFFF#000000##FFFFFF
##9815CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#924B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9815ca;
/* rgb */ color: rgb(152, 21, 202);
/* oklch */ color: oklch(51.9% 0.247 313.0);
Tailwind
colors: {
  custom: {
    50: '#bc6adb',
    500: '#9815ca',
    950: '#000000',
  },
}
SCSS
$custom: #9815ca;
$custom-light: #bc6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9815ca",
  "rgb": {
    "r": 152,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 283.425,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.2475,
    "h": 313
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#9815CA
secondary
#85D566
accent
#F83067
background
#FCF6FD
surface
#F8ECFB
border
#D1C7D4
text
#130815
muted
#827A83

Preview Lab

Preview with #9815CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9815CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva