#8E23B9#8E23B9

#8E23B9 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.221 H 313.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8E23B9
RGBrgb(142, 35, 185)
HSLhsl(283, 68%, 43%)
HSVhsv(283, 81%, 73%)
CMYKcmyk(23.2%, 81.1%, 0%, 27.5%)
CIE-LABlab(38.65, 64.35, -56.74)
CIE-LCHlch(38.65, 85.80, 318.60°)
OKLaboklab(50.02% 0.1523 -0.1606)
OKLCHoklch(50.02% 0.221 313.5)
XYZxyz(20.5118, 10.4563, 46.8273)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E23B9 #4EB923
analogous
#4323B9 #8E23B9 #B92399
triadic
#8E23B9 #B98E23 #23B98E
tetradic
#8E23B9 #B94323 #4EB923 #2399B9
square
#8E23B9 #B94323 #4EB923 #2399B9
split-complementary
#8E23B9 #99B923 #23B943
monochromatic
#3F1052 #661986 #8E23B9 #AE3FDB #C472E4

Accessibility & contrast

On white

6.79
#8E23B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8E23B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E23B9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E23B9#FFFFFF#000000##FFFFFF
##8E23B91.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0B5DB6
Tritanopia (blue-blind)
#89496F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e23b9;
/* rgb */ color: rgb(142, 35, 185);
/* oklch */ color: oklch(50.0% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#b46ccf',
    500: '#8e23b9',
    950: '#000000',
  },
}
SCSS
$custom: #8e23b9;
$custom-light: #b46ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e23b9",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 185
  },
  "hsl": {
    "h": 282.8,
    "s": 68.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.22129,
    "h": 313.5
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#8E23B9
secondary
#88CB6D
accent
#EB3D6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8E23B9

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

Preview Lab → · Contrast checker → · Palette generator →

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