#8E5FE1#8E5FE1

#8E5FE1 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.190 H 296.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E5FE1
RGBrgb(142, 95, 225)
HSLhsl(262, 68%, 63%)
HSVhsv(262, 58%, 88%)
CMYKcmyk(36.9%, 57.8%, 0%, 11.8%)
CIE-LABlab(51.12, 46.66, -59.67)
CIE-LCHlch(51.12, 75.75, 308.02°)
OKLaboklab(59.84% 0.0861 -0.1695)
OKLCHoklch(59.84% 0.19 296.9)
XYZxyz(28.8347, 19.3710, 73.4394)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FE1 #B2E15F
analogous
#5F71E1 #8E5FE1 #CF5FE1
triadic
#8E5FE1 #E18E5F #5FE18E
tetradic
#8E5FE1 #E15F71 #B2E15F #5FE1CF
square
#8E5FE1 #E15F71 #B2E15F #5FE1CF
split-complementary
#8E5FE1 #E1CF5F #71E15F
monochromatic
#501FA6 #6A2BD7 #8E5FE1 #B293EB #D7C6F4

Accessibility & contrast

On white

4.31
#8E5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8E5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FE1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FE1#FFFFFF#000000##000000
##8E5FE11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#157AE5
Deuteranopia (green-blind)
#2D78DE
Tritanopia (blue-blind)
#7A7B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5fe1;
/* rgb */ color: rgb(142, 95, 225);
/* oklch */ color: oklch(59.8% 0.190 296.9);
Tailwind
colors: {
  custom: {
    50: '#b48eeb',
    500: '#8e5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fe1;
$custom-light: #b48eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fe1",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 261.692,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.19011,
    "h": 296.9
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#8E5FE1
secondary
#D4E5B6
accent
#D0158D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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