#8E5FEE#8E5FEE

#8E5FEE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.206 H 294.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E5FEE
RGBrgb(142, 95, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 60%, 93%)
CMYKcmyk(40.3%, 60.1%, 0%, 6.7%)
CIE-LABlab(51.96, 50.05, -65.63)
CIE-LCHlch(51.96, 82.53, 307.33°)
OKLaboklab(60.72% 0.0858 -0.187)
OKLCHoklch(60.72% 0.206 294.6)
XYZxyz(30.6761, 20.1075, 83.1373)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FEE #BFEE5F
analogous
#5F78EE #8E5FEE #D55FEE
triadic
#8E5FEE #EE8E5F #5FEE8E
tetradic
#8E5FEE #EE5F78 #BFEE5F #5FEED5
square
#8E5FEE #EE5F78 #BFEE5F #5FEED5
split-complementary
#8E5FEE #EED55F #78EE5F
monochromatic
#4C14BE #6728E8 #8E5FEE #B596F4 #DCCEFA

Accessibility & contrast

On white

4.18
#8E5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8E5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FEE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FEE#FFFFFF#000000##000000
##8E5FEE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0A7AEB
Tritanopia (blue-blind)
#757F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5fee;
/* rgb */ color: rgb(142, 95, 238);
/* oklch */ color: oklch(60.7% 0.206 294.6);
Tailwind
colors: {
  custom: {
    50: '#b58ef4',
    500: '#8e5fee',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fee;
$custom-light: #b58ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fee",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 259.72,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60716,
    "c": 0.2057,
    "h": 294.6
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#8E5FEE
secondary
#DDECBC
accent
#DD0897
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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