#8E19B4#8E19B4

#8E19B4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 49.0% C 0.225 H 315.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8E19B4
RGBrgb(142, 25, 180)
HSLhsl(285, 76%, 40%)
HSVhsv(285, 86%, 71%)
CMYKcmyk(21.1%, 86.1%, 0%, 29.4%)
CIE-LABlab(37.38, 66.03, -55.85)
CIE-LCHlch(37.38, 86.48, 319.78°)
OKLaboklab(49.02% 0.1599 -0.1579)
OKLCHoklch(49.02% 0.225 315.4)
XYZxyz(19.7398, 9.7421, 44.0118)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E19B4 #3FB419
analogous
#4019B4 #8E19B4 #B4198D
triadic
#8E19B4 #B48E19 #19B48E
tetradic
#8E19B4 #B44019 #3FB419 #198DB4
square
#8E19B4 #B44019 #3FB419 #198DB4
split-complementary
#8E19B4 #8DB419 #19B440
monochromatic
#390A49 #64127E #8E19B4 #B429E1 #C75FE9

Accessibility & contrast

On white

7.12
#8E19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8E19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E19B4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E19B4#FFFFFF#000000##FFFFFF
##8E19B41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0C5BB1
Tritanopia (blue-blind)
#8B426B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e19b4;
/* rgb */ color: rgb(142, 25, 180);
/* oklch */ color: oklch(49.0% 0.225 315.4);
Tailwind
colors: {
  custom: {
    50: '#b469cb',
    500: '#8e19b4',
    950: '#000000',
  },
}
SCSS
$custom: #8e19b4;
$custom-light: #b469cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e19b4",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 285.29,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49019,
    "c": 0.22472,
    "h": 315.4
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#8E19B4
secondary
#78CD5C
accent
#F23664
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8E19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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