#8E33E2#8E33E2

#8E33E2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.5% C 0.244 H 302.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E33E2
RGBrgb(142, 51, 226)
HSLhsl(271, 75%, 54%)
HSVhsv(271, 77%, 89%)
CMYKcmyk(37.2%, 77.4%, 0%, 11.4%)
CIE-LABlab(43.67, 67.65, -72.32)
CIE-LCHlch(43.67, 99.03, 313.09°)
OKLaboklab(54.52% 0.1302 -0.2065)
OKLCHoklch(54.52% 0.244 302.2)
XYZxyz(26.0633, 13.6093, 73.1905)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33E2 #87E233
analogous
#3733E2 #8E33E2 #E233DE
triadic
#8E33E2 #E28E33 #33E28E
tetradic
#8E33E2 #E23733 #87E233 #33DEE2
square
#8E33E2 #E23733 #87E233 #33DEE2
split-complementary
#8E33E2 #DEE233 #33E237
monochromatic
#501387 #6F1BBD #8E33E2 #AC69EA #C99EF1

Accessibility & contrast

On white

5.64
#8E33E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E33E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33E2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33E2#FFFFFF#000000##FFFFFF
##8E33E21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#7C628A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e33e2;
/* rgb */ color: rgb(142, 51, 226);
/* oklch */ color: oklch(54.5% 0.244 302.2);
Tailwind
colors: {
  custom: {
    50: '#b675ec',
    500: '#8e33e2',
    950: '#000000',
  },
}
SCSS
$custom: #8e33e2;
$custom-light: #b675ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33e2",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 271.2,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.24408,
    "h": 302.2
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#8E33E2
secondary
#B7DE93
accent
#F23690
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E33E2

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

Preview Lab → · Contrast checker → · Palette generator →

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