#8E23C2#8E23C2

#8E23C2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.7% C 0.229 H 311.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8E23C2
RGBrgb(142, 35, 194)
HSLhsl(280, 69%, 45%)
HSVhsv(280, 82%, 76%)
CMYKcmyk(26.8%, 82%, 0%, 23.9%)
CIE-LABlab(39.32, 66.15, -60.93)
CIE-LCHlch(39.32, 89.94, 317.35°)
OKLaboklab(50.71% 0.1502 -0.1729)
OKLCHoklch(50.71% 0.229 311)
XYZxyz(21.4921, 10.8484, 51.9903)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E23C2 #57C223
analogous
#3E23C2 #8E23C2 #C223A7
triadic
#8E23C2 #C28E23 #23C28E
tetradic
#8E23C2 #C23E23 #57C223 #23A7C2
square
#8E23C2 #C23E23 #57C223 #23A7C2
split-complementary
#8E23C2 #A7C223 #23C23E
monochromatic
#42105A #681A8E #8E23C2 #AB45DD #C379E7

Accessibility & contrast

On white

6.63
#8E23C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8E23C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E23C2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E23C2#FFFFFF#000000##FFFFFF
##8E23C21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#874D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e23c2;
/* rgb */ color: rgb(142, 35, 194);
/* oklch */ color: oklch(50.7% 0.229 311.0);
Tailwind
colors: {
  custom: {
    50: '#b56dd5',
    500: '#8e23c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e23c2;
$custom-light: #b56dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e23c2",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 194
  },
  "hsl": {
    "h": 280.377,
    "s": 69.432,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.22902,
    "h": 311
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#8E23C2
secondary
#90CE72
accent
#EC3C75
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E23C2

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

Preview Lab → · Contrast checker → · Palette generator →

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