#8E5EDF#8E5EDF

#8E5EDF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.189 H 297.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E5EDF
RGBrgb(142, 94, 223)
HSLhsl(262, 67%, 62%)
HSVhsv(262, 58%, 87%)
CMYKcmyk(36.3%, 57.8%, 0%, 12.5%)
CIE-LABlab(50.78, 46.69, -59.08)
CIE-LCHlch(50.78, 75.31, 308.32°)
OKLaboklab(59.55% 0.0874 -0.1677)
OKLCHoklch(59.55% 0.189 297.5)
XYZxyz(28.4740, 19.0835, 71.9811)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EDF #AFDF5E
analogous
#5E6EDF #8E5EDF #CF5EDF
triadic
#8E5EDF #DF8E5E #5EDF8E
tetradic
#8E5EDF #DF5E6E #AFDF5E #5EDFCF
square
#8E5EDF #DF5E6E #AFDF5E #5EDFCF
split-complementary
#8E5EDF #DFCF5E #6EDF5E
monochromatic
#5120A2 #6A2BD5 #8E5EDF #B291E9 #D6C4F3

Accessibility & contrast

On white

4.36
#8E5EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8E5EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EDF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EDF#FFFFFF#000000##000000
##8E5EDF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E3
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#7B7996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5edf;
/* rgb */ color: rgb(142, 94, 223);
/* oklch */ color: oklch(59.6% 0.189 297.5);
Tailwind
colors: {
  custom: {
    50: '#b48dea',
    500: '#8e5edf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5edf;
$custom-light: #b48dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5edf",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 262.326,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5955,
    "c": 0.1891,
    "h": 297.5
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#8E5EDF
secondary
#D2E4B5
accent
#CF178A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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