#8E23B7#8E23B7

#8E23B7 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.220 H 314.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8E23B7
RGBrgb(142, 35, 183)
HSLhsl(283, 68%, 43%)
HSVhsv(283, 81%, 72%)
CMYKcmyk(22.4%, 80.9%, 0%, 28.2%)
CIE-LABlab(38.50, 63.96, -55.80)
CIE-LCHlch(38.50, 84.88, 318.90°)
OKLaboklab(49.88% 0.1527 -0.1578)
OKLCHoklch(49.88% 0.22 314.1)
XYZxyz(20.3021, 10.3725, 45.7232)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E23B7 #4CB723
analogous
#4423B7 #8E23B7 #B72396
triadic
#8E23B7 #B78E23 #23B78E
tetradic
#8E23B7 #B74423 #4CB723 #2396B7
square
#8E23B7 #B74423 #4CB723 #2396B7
split-complementary
#8E23B7 #96B723 #23B744
monochromatic
#3E0F50 #661984 #8E23B7 #AF3DDA #C471E4

Accessibility & contrast

On white

6.83
#8E23B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E23B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E23B7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E23B7#FFFFFF#000000##FFFFFF
##8E23B71.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#8A486E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e23b7;
/* rgb */ color: rgb(142, 35, 183);
/* oklch */ color: oklch(49.9% 0.220 314.1);
Tailwind
colors: {
  custom: {
    50: '#b46ccd',
    500: '#8e23b7',
    950: '#000000',
  },
}
SCSS
$custom: #8e23b7;
$custom-light: #b46ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e23b7",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 183
  },
  "hsl": {
    "h": 283.378,
    "s": 67.89,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.21957,
    "h": 314.1
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#8E23B7
secondary
#86CA6B
accent
#EB3D6D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8E23B7

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

Preview Lab → · Contrast checker → · Palette generator →

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