#8E5CE7#8E5CE7

#8E5CE7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.201 H 296.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8E5CE7
RGBrgb(142, 92, 231)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(38.5%, 60.2%, 0%, 9.4%)
CIE-LABlab(50.89, 49.84, -63.43)
CIE-LCHlch(50.89, 80.66, 308.16°)
OKLaboklab(59.79% 0.0894 -0.1805)
OKLCHoklch(59.79% 0.201 296.4)
XYZxyz(29.4026, 19.1741, 77.7377)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CE7 #B5E75C
analogous
#5C6FE7 #8E5CE7 #D45CE7
triadic
#8E5CE7 #E78E5C #5CE78E
tetradic
#8E5CE7 #E75C6F #B5E75C #5CE7D4
square
#8E5CE7 #E75C6F #B5E75C #5CE7D4
split-complementary
#8E5CE7 #E7D45C #6FE75C
monochromatic
#4F1AAF #6927DF #8E5CE7 #B391EF #D8C7F7

Accessibility & contrast

On white

4.34
#8E5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8E5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CE7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CE7#FFFFFF#000000##000000
##8E5CE71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1877E4
Tritanopia (blue-blind)
#787B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5ce7;
/* rgb */ color: rgb(142, 92, 231);
/* oklch */ color: oklch(59.8% 0.201 296.4);
Tailwind
colors: {
  custom: {
    50: '#b48cef',
    500: '#8e5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ce7;
$custom-light: #b48cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ce7",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 261.583,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.20144,
    "h": 296.4
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#8E5CE7
secondary
#D6E8B7
accent
#D60F8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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