#8E5FE8#8E5FE8

#8E5FE8 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.199 H 295.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E5FE8
RGBrgb(142, 95, 232)
HSLhsl(261, 75%, 64%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(38.8%, 59.1%, 0%, 9%)
CIE-LABlab(51.57, 48.48, -62.90)
CIE-LCHlch(51.57, 79.41, 307.62°)
OKLaboklab(60.31% 0.086 -0.1789)
OKLCHoklch(60.31% 0.199 295.7)
XYZxyz(29.8092, 19.7608, 78.5720)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FE8 #B9E85F
analogous
#5F75E8 #8E5FE8 #D35FE8
triadic
#8E5FE8 #E88E5F #5FE88E
tetradic
#8E5FE8 #E85F75 #B9E85F #5FE8D3
square
#8E5FE8 #E85F75 #B9E85F #5FE8D3
split-complementary
#8E5FE8 #E8D35F #75E85F
monochromatic
#4E1AB3 #6829E0 #8E5FE8 #B495F0 #DACAF7

Accessibility & contrast

On white

4.24
#8E5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8E5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FE8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FE8#FFFFFF#000000##000000
##8E5FE81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#787D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5fe8;
/* rgb */ color: rgb(142, 95, 232);
/* oklch */ color: oklch(60.3% 0.199 295.7);
Tailwind
colors: {
  custom: {
    50: '#b48ef0',
    500: '#8e5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fe8;
$custom-light: #b48ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fe8",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 260.584,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60305,
    "c": 0.19853,
    "h": 295.7
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#8E5FE8
secondary
#D9E9BA
accent
#D70E92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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