#8E2AC1#8E2AC1

#8E2AC1 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.222 H 310.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8E2AC1
RGBrgb(142, 42, 193)
HSLhsl(280, 64%, 46%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(26.4%, 78.2%, 0%, 24.3%)
CIE-LABlab(40.01, 63.73, -59.23)
CIE-LCHlch(40.01, 87.01, 317.09°)
OKLaboklab(51.16% 0.1452 -0.1679)
OKLCHoklch(51.16% 0.222 310.8)
XYZxyz(21.6071, 11.2575, 51.4764)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AC1 #5DC12A
analogous
#422AC1 #8E2AC1 #C12AA8
triadic
#8E2AC1 #C18E2A #2AC18E
tetradic
#8E2AC1 #C1422A #5DC12A #2AA8C1
square
#8E2AC1 #C1422A #5DC12A #2AA8C1
split-complementary
#8E2AC1 #A8C12A #2AC142
monochromatic
#44145C #691F8F #8E2AC1 #AA4FD9 #C382E4

Accessibility & contrast

On white

6.46
#8E2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8E2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AC1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AC1#FFFFFF#000000##FFFFFF
##8E2AC11.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#874F75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2ac1;
/* rgb */ color: rgb(142, 42, 193);
/* oklch */ color: oklch(51.2% 0.222 310.8);
Tailwind
colors: {
  custom: {
    50: '#b46fd5',
    500: '#8e2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ac1;
$custom-light: #b46fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ac1",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 279.735,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.22198,
    "h": 310.8
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#8E2AC1
secondary
#96CD7A
accent
#E74179
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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