#8E33C4#8E33C4

#8E33C4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.216 H 309.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8E33C4
RGBrgb(142, 51, 196)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 77%)
CMYKcmyk(27.6%, 74%, 0%, 23.1%)
CIE-LABlab(41.38, 61.05, -58.76)
CIE-LCHlch(41.38, 84.74, 316.10°)
OKLaboklab(52.2% 0.1368 -0.1666)
OKLCHoklch(52.2% 0.216 309.4)
XYZxyz(22.3010, 12.1044, 53.3754)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33C4 #69C433
analogous
#4533C4 #8E33C4 #C433B1
triadic
#8E33C4 #C48E33 #33C48E
tetradic
#8E33C4 #C44533 #69C433 #33B1C4
square
#8E33C4 #C44533 #69C433 #33B1C4
split-complementary
#8E33C4 #B1C433 #33C445
monochromatic
#481A63 #6B2693 #8E33C4 #A95FD5 #C38FE2

Accessibility & contrast

On white

6.14
#8E33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8E33C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33C4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33C4#FFFFFF#000000##FFFFFF
##8E33C41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0763C1
Tritanopia (blue-blind)
#865579
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e33c4;
/* rgb */ color: rgb(142, 51, 196);
/* oklch */ color: oklch(52.2% 0.216 309.4);
Tailwind
colors: {
  custom: {
    50: '#b474d7',
    500: '#8e33c4',
    950: '#000000',
  },
}
SCSS
$custom: #8e33c4;
$custom-light: #b474d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33c4",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 277.655,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.21556,
    "h": 309.4
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#8E33C4
secondary
#A0CD86
accent
#E24680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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