#8E33D1#8E33D1

#8E33D1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.2% C 0.228 H 306.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8E33D1
RGBrgb(142, 51, 209)
HSLhsl(275, 63%, 51%)
HSVhsv(275, 76%, 82%)
CMYKcmyk(32.1%, 75.6%, 0%, 18%)
CIE-LABlab(42.34, 63.88, -64.74)
CIE-LCHlch(42.34, 90.95, 314.61°)
OKLaboklab(53.18% 0.1342 -0.1842)
OKLCHoklch(53.18% 0.228 306.1)
XYZxyz(23.8452, 12.7221, 61.5087)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33D1 #76D133
analogous
#3F33D1 #8E33D1 #D133C5
triadic
#8E33D1 #D18E33 #33D18E
tetradic
#8E33D1 #D13F33 #76D133 #33C5D1
square
#8E33D1 #D13F33 #76D133 #33C5D1
split-complementary
#8E33D1 #C5D133 #33D13F
monochromatic
#4B1970 #6D25A2 #8E33D1 #AA65DC #C597E8

Accessibility & contrast

On white

5.92
#8E33D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8E33D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33D1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33D1#FFFFFF#000000##FFFFFF
##8E33D11.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#825B81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e33d1;
/* rgb */ color: rgb(142, 51, 209);
/* oklch */ color: oklch(53.2% 0.228 306.1);
Tailwind
colors: {
  custom: {
    50: '#b574e0',
    500: '#8e33d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e33d1;
$custom-light: #b574e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33d1",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 209
  },
  "hsl": {
    "h": 274.557,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.22791,
    "h": 306.1
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#8E33D1
secondary
#ABD38D
accent
#E64287
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E33D1

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

Preview Lab → · Contrast checker → · Palette generator →

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