#8E33C2#8E33C2

#8E33C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.214 H 309.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8E33C2
RGBrgb(142, 51, 194)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(26.8%, 73.7%, 0%, 23.9%)
CIE-LABlab(41.24, 60.63, -57.83)
CIE-LCHlch(41.24, 83.78, 316.35°)
OKLaboklab(52.05% 0.1371 -0.1639)
OKLCHoklch(52.05% 0.214 309.9)
XYZxyz(22.0748, 12.0139, 52.1845)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33C2 #67C233
analogous
#4733C2 #8E33C2 #C233AE
triadic
#8E33C2 #C28E33 #33C28E
tetradic
#8E33C2 #C24733 #67C233 #33AEC2
square
#8E33C2 #C24733 #67C233 #33AEC2
split-complementary
#8E33C2 #AEC233 #33C247
monochromatic
#471A61 #6B2692 #8E33C2 #A95ED5 #C38EE1

Accessibility & contrast

On white

6.17
#8E33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8E33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33C2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33C2#FFFFFF#000000##FFFFFF
##8E33C21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#875478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e33c2;
/* rgb */ color: rgb(142, 51, 194);
/* oklch */ color: oklch(52.1% 0.214 309.9);
Tailwind
colors: {
  custom: {
    50: '#b474d5',
    500: '#8e33c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e33c2;
$custom-light: #b474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33c2",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 278.182,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.21366,
    "h": 309.9
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#8E33C2
secondary
#9FCC85
accent
#E2467F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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