#8E5FDE#8E5FDE

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

Color values

HEX#8E5FDE
RGBrgb(142, 95, 222)
HSLhsl(262, 66%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(36%, 57.2%, 0%, 12.9%)
CIE-LABlab(50.93, 45.89, -58.28)
CIE-LCHlch(50.93, 74.18, 308.22°)
OKLaboklab(59.64% 0.0862 -0.1654)
OKLCHoklch(59.64% 0.186 297.5)
XYZxyz(28.4290, 19.2087, 71.3029)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FDE #AFDE5F
analogous
#5F70DE #8E5FDE #CE5FDE
triadic
#8E5FDE #DE8E5F #5FDE8E
tetradic
#8E5FDE #DE5F70 #AFDE5F #5FDECE
square
#8E5FDE #DE5F70 #AFDE5F #5FDECE
split-complementary
#8E5FDE #DECE5F #70DE5F
monochromatic
#5121A1 #6A2CD4 #8E5FDE #B292E8 #D6C4F3

Accessibility & contrast

On white

4.34
#8E5FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8E5FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FDE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FDE#FFFFFF#000000##000000
##8E5FDE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE2
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#7C7A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5fde;
/* rgb */ color: rgb(142, 95, 222);
/* oklch */ color: oklch(59.6% 0.186 297.5);
Tailwind
colors: {
  custom: {
    50: '#b48ee9',
    500: '#8e5fde',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fde;
$custom-light: #b48ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fde",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 262.205,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.18647,
    "h": 297.5
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#8E5FDE
secondary
#D2E4B5
accent
#CE188A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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