#8E5FF0#8E5FF0

#8E5FF0 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.208 H 294.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E5FF0
RGBrgb(142, 95, 240)
HSLhsl(259, 83%, 66%)
HSVhsv(259, 60%, 94%)
CMYKcmyk(40.8%, 60.4%, 0%, 5.9%)
CIE-LABlab(52.09, 50.57, -66.53)
CIE-LCHlch(52.09, 83.57, 307.24°)
OKLaboklab(60.86% 0.0857 -0.1896)
OKLCHoklch(60.86% 0.208 294.3)
XYZxyz(30.9715, 20.2257, 84.6933)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FF0 #C1F05F
analogous
#5F78F0 #8E5FF0 #D65FF0
triadic
#8E5FF0 #F08E5F #5FF08E
tetradic
#8E5FF0 #F05F78 #C1F05F #5FF0D6
square
#8E5FF0 #F05F78 #C1F05F #5FF0D6
split-complementary
#8E5FF0 #F0D65F #78F05F
monochromatic
#4B12C2 #6627EB #8E5FF0 #B697F5 #DDCFFA

Accessibility & contrast

On white

4.16
#8E5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8E5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FF0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FF0#FFFFFF#000000##000000
##8E5FF01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#747F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5ff0;
/* rgb */ color: rgb(142, 95, 240);
/* oklch */ color: oklch(60.9% 0.208 294.3);
Tailwind
colors: {
  custom: {
    50: '#b58ef6',
    500: '#8e5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ff0;
$custom-light: #b58ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ff0",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 259.448,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.20808,
    "h": 294.3
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#8E5FF0
secondary
#DEEEBD
accent
#DF0699
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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