#8B15CA#8B15CA

#8B15CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 50.1% C 0.244 H 308.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8B15CA
RGBrgb(139, 21, 202)
HSLhsl(279, 81%, 44%)
HSVhsv(279, 90%, 79%)
CMYKcmyk(31.2%, 89.6%, 0%, 20.8%)
CIE-LABlab(38.36, 70.70, -67.20)
CIE-LCHlch(38.36, 97.54, 316.45°)
OKLaboklab(50.15% 0.1517 -0.1913)
OKLCHoklch(50.15% 0.244 308.4)
XYZxyz(21.5740, 10.2899, 56.7153)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B15CA #54CA15
analogous
#3015CA #8B15CA #CA15AE
triadic
#8B15CA #CA8B15 #15CA8B
tetradic
#8B15CA #CA3015 #54CA15 #15AECA
square
#8B15CA #CA3015 #54CA15 #15AECA
split-complementary
#8B15CA #AECA15 #15CA30
monochromatic
#3F095B #650F93 #8B15CA #AA32EA #C16AEF

Accessibility & contrast

On white

6.87
#8B15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B15CA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B15CA#FFFFFF#000000##FFFFFF
##8B15CA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b15ca;
/* rgb */ color: rgb(139, 21, 202);
/* oklch */ color: oklch(50.1% 0.244 308.4);
Tailwind
colors: {
  custom: {
    50: '#b368db',
    500: '#8b15ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b15ca;
$custom-light: #b368db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b15ca",
  "rgb": {
    "r": 139,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 279.116,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.24416,
    "h": 308.4
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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