#8E5FF3#8E5FF3

#8E5FF3 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.212 H 293.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8E5FF3
RGBrgb(142, 95, 243)
HSLhsl(259, 86%, 66%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(41.6%, 60.9%, 0%, 4.7%)
CIE-LABlab(52.29, 51.36, -67.88)
CIE-LCHlch(52.29, 85.12, 307.11°)
OKLaboklab(61.07% 0.0855 -0.1936)
OKLCHoklch(61.07% 0.212 293.8)
XYZxyz(31.4209, 20.4054, 87.0598)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FF3 #C4F35F
analogous
#5F7AF3 #8E5FF3 #D85FF3
triadic
#8E5FF3 #F38E5F #5FF38E
tetradic
#8E5FF3 #F35F7A #C4F35F #5FF3D8
square
#8E5FF3 #F35F7A #C4F35F #5FF3D8
split-complementary
#8E5FF3 #F3D85F #7AF35F
monochromatic
#4A0FC9 #6626EF #8E5FF3 #B698F7 #DED1FC

Accessibility & contrast

On white

4.13
#8E5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8E5FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FF3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FF3#FFFFFF#000000##000000
##8E5FF31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#7380A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e5ff3;
/* rgb */ color: rgb(142, 95, 243);
/* oklch */ color: oklch(61.1% 0.212 293.8);
Tailwind
colors: {
  custom: {
    50: '#b58ef8',
    500: '#8e5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ff3;
$custom-light: #b58ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ff3",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 259.054,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.21164,
    "h": 293.8
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#8E5FF3
secondary
#E0EFBF
accent
#E3039C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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