#8D15E2#8D15E2

#8D15E2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 52.5% C 0.264 H 303.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8D15E2
RGBrgb(141, 21, 226)
HSLhsl(275, 83%, 48%)
HSVhsv(275, 91%, 89%)
CMYKcmyk(37.6%, 90.7%, 0%, 11.4%)
CIE-LABlab(40.72, 75.78, -77.16)
CIE-LCHlch(40.72, 108.15, 314.49°)
OKLaboklab(52.45% 0.1459 -0.2205)
OKLCHoklch(52.45% 0.264 303.5)
XYZxyz(24.9769, 11.6900, 72.8773)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D15E2 #6AE215
analogous
#2615E2 #8D15E2 #E215D0
triadic
#8D15E2 #E28D15 #15E28D
tetradic
#8D15E2 #E22615 #6AE215 #15D0E2
square
#8D15E2 #E22615 #6AE215 #15D0E2
split-complementary
#8D15E2 #D0E215 #15E226
monochromatic
#470B72 #6A10AA #8D15E2 #A846EE #C37EF3

Accessibility & contrast

On white

6.29
#8D15E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8D15E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D15E2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D15E2#FFFFFF#000000##FFFFFF
##8D15E21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#7B5886
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d15e2;
/* rgb */ color: rgb(141, 21, 226);
/* oklch */ color: oklch(52.5% 0.264 303.5);
Tailwind
colors: {
  custom: {
    50: '#b76aec',
    500: '#8d15e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d15e2;
$custom-light: #b76aec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d15e2",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 226
  },
  "hsl": {
    "h": 275.122,
    "s": 82.996,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.26439,
    "h": 303.5
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#8D15E2
secondary
#A1DB78
accent
#F92E83
background
#FCF6FE
surface
#F8ECFD
border
#D1C7D5
text
#120816
muted
#817A84

Preview Lab

Preview with #8D15E2

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

Preview Lab → · Contrast checker → · Palette generator →

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