#8E5FED#8E5FED

#8E5FED is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.205 H 294.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E5FED
RGBrgb(142, 95, 237)
HSLhsl(260, 80%, 65%)
HSVhsv(260, 60%, 93%)
CMYKcmyk(40.1%, 59.9%, 0%, 7.1%)
CIE-LABlab(51.89, 49.78, -65.18)
CIE-LCHlch(51.89, 82.01, 307.37°)
OKLaboklab(60.65% 0.0858 -0.1856)
OKLCHoklch(60.65% 0.205 294.8)
XYZxyz(30.5296, 20.0489, 82.3657)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FED #BEED5F
analogous
#5F77ED #8E5FED #D55FED
triadic
#8E5FED #ED8E5F #5FED8E
tetradic
#8E5FED #ED5F77 #BEED5F #5FEDD5
square
#8E5FED #ED5F77 #BEED5F #5FEDD5
split-complementary
#8E5FED #EDD55F #77ED5F
monochromatic
#4D15BC #6728E7 #8E5FED #B596F3 #DCCDF9

Accessibility & contrast

On white

4.19
#8E5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8E5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FED
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FED#FFFFFF#000000##000000
##8E5FED1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#0F79EA
Tritanopia (blue-blind)
#757E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5fed;
/* rgb */ color: rgb(142, 95, 237);
/* oklch */ color: oklch(60.6% 0.205 294.8);
Tailwind
colors: {
  custom: {
    50: '#b58ef4',
    500: '#8e5fed',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fed;
$custom-light: #b58ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fed",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 259.859,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.20451,
    "h": 294.8
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#8E5FED
secondary
#DCECBC
accent
#DC0996
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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