#8E23A0#8E23A0

#8E23A0 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 321.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8E23A0
RGBrgb(142, 35, 160)
HSLhsl(291, 64%, 38%)
HSVhsv(291, 78%, 63%)
CMYKcmyk(11.2%, 78.1%, 0%, 37.3%)
CIE-LABlab(36.91, 59.59, -44.63)
CIE-LCHlch(36.91, 74.45, 323.17°)
OKLaboklab(48.25% 0.1563 -0.125)
OKLCHoklch(48.25% 0.2 321.3)
XYZxyz(18.1008, 9.4919, 34.1296)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E23A0 #35A023
analogous
#4F23A0 #8E23A0 #A02373
triadic
#8E23A0 #A08E23 #23A08E
tetradic
#8E23A0 #A04F23 #35A023 #2373A0
square
#8E23A0 #A04F23 #35A023 #2373A0
split-complementary
#8E23A0 #73A023 #23A04F
monochromatic
#350D3C #61186E #8E23A0 #BA2FD1 #CB61DC

Accessibility & contrast

On white

7.25
#8E23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E23A0
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E23A0#FFFFFF#000000##FFFFFF
##8E23A01.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#335B9D
Tritanopia (blue-blind)
#8F3D61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e23a0;
/* rgb */ color: rgb(142, 35, 160);
/* oklch */ color: oklch(48.3% 0.200 321.3);
Tailwind
colors: {
  custom: {
    50: '#b36bbd',
    500: '#8e23a0',
    950: '#000000',
  },
}
SCSS
$custom: #8e23a0;
$custom-light: #b36bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e23a0",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 291.36,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.20017,
    "h": 321.3
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#8E23A0
secondary
#6CC15D
accent
#E74159
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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