#8D15CA#8D15CA

#8D15CA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.4% C 0.245 H 309.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D15CA
RGBrgb(141, 21, 202)
HSLhsl(280, 81%, 44%)
HSVhsv(280, 90%, 79%)
CMYKcmyk(30.2%, 89.6%, 0%, 20.8%)
CIE-LABlab(38.66, 70.97, -66.69)
CIE-LCHlch(38.66, 97.39, 316.78°)
OKLaboklab(50.42% 0.1544 -0.1897)
OKLCHoklch(50.42% 0.245 309.1)
XYZxyz(21.9111, 10.4637, 56.7311)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D15CA #52CA15
analogous
#3215CA #8D15CA #CA15AC
triadic
#8D15CA #CA8D15 #15CA8D
tetradic
#8D15CA #CA3215 #52CA15 #15ACCA
square
#8D15CA #CA3215 #52CA15 #15ACCA
split-complementary
#8D15CA #ACCA15 #15CA32
monochromatic
#40095B #660F93 #8D15CA #AC32EA #C26AEF

Accessibility & contrast

On white

6.79
#8D15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D15CA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D15CA#FFFFFF#000000##FFFFFF
##8D15CA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#834D77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d15ca;
/* rgb */ color: rgb(141, 21, 202);
/* oklch */ color: oklch(50.4% 0.245 309.1);
Tailwind
colors: {
  custom: {
    50: '#b569db',
    500: '#8d15ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d15ca;
$custom-light: #b569db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d15ca",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 279.779,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.24463,
    "h": 309.1
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#8D15CA
secondary
#8BD566
accent
#F83073
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#120715
muted
#817A83

Preview Lab

Preview with #8D15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8D15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva