#8E33C1#8E33C1

#8E33C1 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.213 H 310.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8E33C1
RGBrgb(142, 51, 193)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(26.4%, 73.6%, 0%, 24.3%)
CIE-LABlab(41.17, 60.41, -57.36)
CIE-LCHlch(41.17, 83.31, 316.48°)
OKLaboklab(51.98% 0.1373 -0.1625)
OKLCHoklch(51.98% 0.213 310.2)
XYZxyz(21.9629, 11.9692, 51.5950)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33C1 #66C133
analogous
#4733C1 #8E33C1 #C133AD
triadic
#8E33C1 #C18E33 #33C18E
tetradic
#8E33C1 #C14733 #66C133 #33ADC1
square
#8E33C1 #C14733 #66C133 #33ADC1
split-complementary
#8E33C1 #ADC133 #33C147
monochromatic
#471960 #6A2691 #8E33C1 #A95DD4 #C38DE1

Accessibility & contrast

On white

6.19
#8E33C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8E33C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33C1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33C1#FFFFFF#000000##FFFFFF
##8E33C11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#1362BE
Tritanopia (blue-blind)
#875478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e33c1;
/* rgb */ color: rgb(142, 51, 193);
/* oklch */ color: oklch(52.0% 0.213 310.2);
Tailwind
colors: {
  custom: {
    50: '#b473d5',
    500: '#8e33c1',
    950: '#000000',
  },
}
SCSS
$custom: #8e33c1;
$custom-light: #b473d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33c1",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 278.451,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.21271,
    "h": 310.2
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#8E33C1
secondary
#9ECB84
accent
#E1467E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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