#8E5FF1#8E5FF1

#8E5FF1 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.209 H 294.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8E5FF1
RGBrgb(142, 95, 241)
HSLhsl(259, 84%, 66%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(41.1%, 60.6%, 0%, 5.5%)
CIE-LABlab(52.16, 50.83, -66.98)
CIE-LCHlch(52.16, 84.09, 307.19°)
OKLaboklab(60.93% 0.0856 -0.191)
OKLCHoklch(60.93% 0.209 294.1)
XYZxyz(31.1205, 20.2853, 85.4778)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FF1 #C2F15F
analogous
#5F79F1 #8E5FF1 #D75FF1
triadic
#8E5FF1 #F18E5F #5FF18E
tetradic
#8E5FF1 #F15F79 #C2F15F #5FF1D7
square
#8E5FF1 #F15F79 #C2F15F #5FF1D7
split-complementary
#8E5FF1 #F1D75F #79F15F
monochromatic
#4B11C4 #6627EC #8E5FF1 #B697F6 #DDD0FB

Accessibility & contrast

On white

4.15
#8E5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8E5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FF1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FF1#FFFFFF#000000##000000
##8E5FF11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#74809F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5ff1;
/* rgb */ color: rgb(142, 95, 241);
/* oklch */ color: oklch(60.9% 0.209 294.1);
Tailwind
colors: {
  custom: {
    50: '#b58ef6',
    500: '#8e5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ff1;
$custom-light: #b58ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ff1",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 259.315,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.20927,
    "h": 294.1
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#8E5FF1
secondary
#DEEEBE
accent
#E0059A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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