#8E5FDF#8E5FDF

#8E5FDF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.188 H 297.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E5FDF
RGBrgb(142, 95, 223)
HSLhsl(262, 67%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(36.3%, 57.4%, 0%, 12.5%)
CIE-LABlab(50.99, 46.15, -58.75)
CIE-LCHlch(50.99, 74.70, 308.15°)
OKLaboklab(59.7% 0.0862 -0.1667)
OKLCHoklch(59.7% 0.188 297.3)
XYZxyz(28.5635, 19.2625, 72.0109)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FDF #B0DF5F
analogous
#5F70DF #8E5FDF #CE5FDF
triadic
#8E5FDF #DF8E5F #5FDF8E
tetradic
#8E5FDF #DF5F70 #B0DF5F #5FDFCE
square
#8E5FDF #DF5F70 #B0DF5F #5FDFCE
split-complementary
#8E5FDF #DFCE5F #70DF5F
monochromatic
#5021A3 #6A2CD5 #8E5FDF #B292E9 #D6C5F3

Accessibility & contrast

On white

4.33
#8E5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FDF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FDF#FFFFFF#000000##000000
##8E5FDF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#3078DC
Tritanopia (blue-blind)
#7B7A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5fdf;
/* rgb */ color: rgb(142, 95, 223);
/* oklch */ color: oklch(59.7% 0.188 297.3);
Tailwind
colors: {
  custom: {
    50: '#b48eea',
    500: '#8e5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fdf;
$custom-light: #b48eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fdf",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 262.031,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59702,
    "c": 0.18769,
    "h": 297.3
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#8E5FDF
secondary
#D3E4B6
accent
#CF178B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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