#8E5FDD#8E5FDD

#8E5FDD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.185 H 297.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8E5FDD
RGBrgb(142, 95, 221)
HSLhsl(262, 65%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(35.7%, 57%, 0%, 13.3%)
CIE-LABlab(50.87, 45.63, -57.81)
CIE-LCHlch(50.87, 73.65, 308.28°)
OKLaboklab(59.57% 0.0862 -0.164)
OKLCHoklch(59.57% 0.185 297.7)
XYZxyz(28.2954, 19.1553, 70.5992)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FDD #AEDD5F
analogous
#5F6FDD #8E5FDD #CD5FDD
triadic
#8E5FDD #DD8E5F #5FDD8E
tetradic
#8E5FDD #DD5F6F #AEDD5F #5FDDCD
square
#8E5FDD #DD5F6F #AEDD5F #5FDDCD
split-complementary
#8E5FDD #DDCD5F #6FDD5F
monochromatic
#5122A0 #6A2DD2 #8E5FDD #B291E8 #D5C4F2

Accessibility & contrast

On white

4.35
#8E5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8E5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FDD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FDD#FFFFFF#000000##000000
##8E5FDD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E1
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#7C7995
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5fdd;
/* rgb */ color: rgb(142, 95, 221);
/* oklch */ color: oklch(59.6% 0.185 297.7);
Tailwind
colors: {
  custom: {
    50: '#b38ee8',
    500: '#8e5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fdd;
$custom-light: #b38ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fdd",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 262.381,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.18526,
    "h": 297.7
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#8E5FDD
secondary
#D2E3B5
accent
#CD198A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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