#8E5FF5#8E5FF5

#8E5FF5 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.214 H 293.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8E5FF5
RGBrgb(142, 95, 245)
HSLhsl(259, 88%, 67%)
HSVhsv(259, 61%, 96%)
CMYKcmyk(42%, 61.2%, 0%, 3.9%)
CIE-LABlab(52.43, 51.89, -68.78)
CIE-LCHlch(52.43, 86.16, 307.03°)
OKLaboklab(61.21% 0.0854 -0.1962)
OKLCHoklch(61.21% 0.214 293.5)
XYZxyz(31.7245, 20.5269, 88.6591)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FF5 #C6F55F
analogous
#5F7BF5 #8E5FF5 #D95FF5
triadic
#8E5FF5 #F58E5F #5FF58E
tetradic
#8E5FF5 #F55F7B #C6F55F #5FF5D9
square
#8E5FF5 #F55F7B #C6F55F #5FF5D9
split-complementary
#8E5FF5 #F5D95F #7BF55F
monochromatic
#490DCD #6525F1 #8E5FF5 #B799F9 #DFD2FC

Accessibility & contrast

On white

4.11
#8E5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8E5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FF5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FF5#FFFFFF#000000##000000
##8E5FF51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#7281A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e5ff5;
/* rgb */ color: rgb(142, 95, 245);
/* oklch */ color: oklch(61.2% 0.214 293.5);
Tailwind
colors: {
  custom: {
    50: '#b68ef9',
    500: '#8e5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ff5;
$custom-light: #b68ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ff5",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 258.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.214,
    "h": 293.5
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#8E5FF5
secondary
#E1F0C0
accent
#E5019D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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