#8A15CA#8A15CA

#8A15CA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 50.0% C 0.244 H 308.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A15CA
RGBrgb(138, 21, 202)
HSLhsl(279, 81%, 44%)
HSVhsv(279, 90%, 79%)
CMYKcmyk(31.7%, 89.6%, 0%, 20.8%)
CIE-LABlab(38.21, 70.57, -67.45)
CIE-LCHlch(38.21, 97.62, 316.29°)
OKLaboklab(50.01% 0.1503 -0.1921)
OKLCHoklch(50.01% 0.244 308)
XYZxyz(21.4078, 10.2042, 56.7075)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A15CA #55CA15
analogous
#3015CA #8A15CA #CA15AF
triadic
#8A15CA #CA8A15 #15CA8A
tetradic
#8A15CA #CA3015 #55CA15 #15AFCA
square
#8A15CA #CA3015 #55CA15 #15AFCA
split-complementary
#8A15CA #AFCA15 #15CA30
monochromatic
#3E095B #640F93 #8A15CA #A932EA #C06AEF

Accessibility & contrast

On white

6.91
#8A15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A15CA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A15CA#FFFFFF#000000##FFFFFF
##8A15CA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#7F4D77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a15ca;
/* rgb */ color: rgb(138, 21, 202);
/* oklch */ color: oklch(50.0% 0.244 308.0);
Tailwind
colors: {
  custom: {
    50: '#b368db',
    500: '#8a15ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a15ca;
$custom-light: #b368db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a15ca",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 278.785,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5001,
    "c": 0.24392,
    "h": 308
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

primary
#8A15CA
secondary
#8DD566
accent
#F83077
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#120715
muted
#817A83

Preview Lab

Preview with #8A15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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