#8E23BA#8E23BA

#8E23BA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.222 H 313.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8E23BA
RGBrgb(142, 35, 186)
HSLhsl(283, 68%, 43%)
HSVhsv(283, 81%, 73%)
CMYKcmyk(23.7%, 81.2%, 0%, 27.1%)
CIE-LABlab(38.72, 64.55, -57.21)
CIE-LCHlch(38.72, 86.26, 318.45°)
OKLaboklab(50.1% 0.152 -0.162)
OKLCHoklch(50.1% 0.222 313.2)
XYZxyz(20.6177, 10.4987, 47.3852)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E23BA #4FBA23
analogous
#4323BA #8E23BA #BA239A
triadic
#8E23BA #BA8E23 #23BA8E
tetradic
#8E23BA #BA4323 #4FBA23 #239ABA
square
#8E23BA #BA4323 #4FBA23 #239ABA
split-complementary
#8E23BA #9ABA23 #23BA43
monochromatic
#3F1053 #671986 #8E23BA #AE3FDB #C373E5

Accessibility & contrast

On white

6.78
#8E23BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8E23BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E23BA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E23BA#FFFFFF#000000##FFFFFF
##8E23BA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#065DB7
Tritanopia (blue-blind)
#894970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e23ba;
/* rgb */ color: rgb(142, 35, 186);
/* oklch */ color: oklch(50.1% 0.222 313.2);
Tailwind
colors: {
  custom: {
    50: '#b46cd0',
    500: '#8e23ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e23ba;
$custom-light: #b46cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e23ba",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 282.517,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.22214,
    "h": 313.2
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#8E23BA
secondary
#89CC6D
accent
#EB3D6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8E23BA

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

Preview Lab → · Contrast checker → · Palette generator →

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