#8E33B3#8E33B3

#8E33B3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.199 H 314.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8E33B3
RGBrgb(142, 51, 179)
HSLhsl(283, 56%, 45%)
HSVhsv(283, 72%, 70%)
CMYKcmyk(20.7%, 71.5%, 0%, 29.8%)
CIE-LABlab(40.20, 57.47, -50.69)
CIE-LCHlch(40.20, 76.63, 318.59°)
OKLaboklab(50.99% 0.1392 -0.1429)
OKLCHoklch(50.99% 0.199 314.2)
XYZxyz(20.4745, 11.3738, 43.7559)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33B3 #58B333
analogous
#4E33B3 #8E33B3 #B33398
triadic
#8E33B3 #B38E33 #33B38E
tetradic
#8E33B3 #B34E33 #58B333 #3398B3
square
#8E33B3 #B34E33 #58B333 #3398B3
split-complementary
#8E33B3 #98B333 #33B34E
monochromatic
#421854 #682583 #8E33B3 #AB55CE #C384DC

Accessibility & contrast

On white

6.41
#8E33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8E33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33B3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33B3#FFFFFF#000000##FFFFFF
##8E33B31.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#8B4E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e33b3;
/* rgb */ color: rgb(142, 51, 179);
/* oklch */ color: oklch(51.0% 0.199 314.2);
Tailwind
colors: {
  custom: {
    50: '#b373ca',
    500: '#8e33b3',
    950: '#000000',
  },
}
SCSS
$custom: #8e33b3;
$custom-light: #b373ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33b3",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 282.656,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.19948,
    "h": 314.2
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#8E33B3
secondary
#91C67C
accent
#DF4974
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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