#9A15CA#9A15CA

#9A15CA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 52.2% C 0.248 H 313.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9A15CA
RGBrgb(154, 21, 202)
HSLhsl(284, 81%, 44%)
HSVhsv(284, 90%, 79%)
CMYKcmyk(23.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(40.69, 72.79, -63.30)
CIE-LCHlch(40.69, 96.46, 318.99°)
OKLaboklab(52.22% 0.1713 -0.1794)
OKLCHoklch(52.22% 0.248 313.7)
XYZxyz(24.2534, 11.6715, 56.8409)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A15CA #45CA15
analogous
#3F15CA #9A15CA #CA159F
triadic
#9A15CA #CA9A15 #15CA9A
tetradic
#9A15CA #CA3F15 #45CA15 #159FCA
square
#9A15CA #CA3F15 #45CA15 #159FCA
split-complementary
#9A15CA #9FCA15 #15CA3F
monochromatic
#45095B #700F93 #9A15CA #B932EA #CC6AEF

Accessibility & contrast

On white

6.30
#9A15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9A15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A15CA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A15CA#FFFFFF#000000##FFFFFF
##9A15CA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a15ca;
/* rgb */ color: rgb(154, 21, 202);
/* oklch */ color: oklch(52.2% 0.248 313.7);
Tailwind
colors: {
  custom: {
    50: '#bd6bdb',
    500: '#9a15ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a15ca;
$custom-light: #bd6bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a15ca",
  "rgb": {
    "r": 154,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 284.088,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.24805,
    "h": 313.7
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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