#8E33D2#8E33D2

#8E33D2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.229 H 305.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8E33D2
RGBrgb(142, 51, 210)
HSLhsl(274, 64%, 51%)
HSVhsv(274, 76%, 82%)
CMYKcmyk(32.4%, 75.7%, 0%, 17.6%)
CIE-LABlab(42.42, 64.10, -65.20)
CIE-LCHlch(42.42, 91.43, 314.51°)
OKLaboklab(53.25% 0.134 -0.1855)
OKLCHoklch(53.25% 0.229 305.8)
XYZxyz(23.9694, 12.7718, 62.1627)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33D2 #77D233
analogous
#3E33D2 #8E33D2 #D233C6
triadic
#8E33D2 #D28E33 #33D28E
tetradic
#8E33D2 #D23E33 #77D233 #33C6D2
square
#8E33D2 #D23E33 #77D233 #33C6D2
split-complementary
#8E33D2 #C6D233 #33D23E
monochromatic
#4C1972 #6D24A4 #8E33D2 #AA65DD #C697E8

Accessibility & contrast

On white

5.91
#8E33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8E33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33D2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33D2#FFFFFF#000000##FFFFFF
##8E33D21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#825B81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e33d2;
/* rgb */ color: rgb(142, 51, 210);
/* oklch */ color: oklch(53.3% 0.229 305.8);
Tailwind
colors: {
  custom: {
    50: '#b574e1',
    500: '#8e33d2',
    950: '#000000',
  },
}
SCSS
$custom: #8e33d2;
$custom-light: #b574e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33d2",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 274.34,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.22887,
    "h": 305.8
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#8E33D2
secondary
#ABD48D
accent
#E74188
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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