#8C15CA#8C15CA

#8C15CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.3% C 0.244 H 308.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8C15CA
RGBrgb(140, 21, 202)
HSLhsl(279, 81%, 44%)
HSVhsv(279, 90%, 79%)
CMYKcmyk(30.7%, 89.6%, 0%, 20.8%)
CIE-LABlab(38.51, 70.83, -66.95)
CIE-LCHlch(38.51, 97.46, 316.62°)
OKLaboklab(50.28% 0.1531 -0.1905)
OKLCHoklch(50.28% 0.244 308.8)
XYZxyz(21.7418, 10.3764, 56.7232)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C15CA #53CA15
analogous
#3215CA #8C15CA #CA15AD
triadic
#8C15CA #CA8C15 #15CA8C
tetradic
#8C15CA #CA3215 #53CA15 #15ADCA
square
#8C15CA #CA3215 #53CA15 #15ADCA
split-complementary
#8C15CA #ADCA15 #15CA32
monochromatic
#3F095B #660F93 #8C15CA #AB32EA #C26AEF

Accessibility & contrast

On white

6.83
#8C15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8C15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C15CA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C15CA#FFFFFF#000000##FFFFFF
##8C15CA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c15ca;
/* rgb */ color: rgb(140, 21, 202);
/* oklch */ color: oklch(50.3% 0.244 308.8);
Tailwind
colors: {
  custom: {
    50: '#b469db',
    500: '#8c15ca',
    950: '#000000',
  },
}
SCSS
$custom: #8c15ca;
$custom-light: #b469db;
$custom-dark: #000000;
JSON
{
  "hex": "#8c15ca",
  "rgb": {
    "r": 140,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 279.448,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.24439,
    "h": 308.8
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#8C15CA
secondary
#8CD566
accent
#F83075
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#120715
muted
#817A83

Preview Lab

Preview with #8C15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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