#8E5FEF#8E5FEF

#8E5FEF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.207 H 294.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8E5FEF
RGBrgb(142, 95, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 60%, 94%)
CMYKcmyk(40.6%, 60.3%, 0%, 6.3%)
CIE-LABlab(52.02, 50.31, -66.08)
CIE-LCHlch(52.02, 83.05, 307.28°)
OKLaboklab(60.79% 0.0857 -0.1883)
OKLCHoklch(60.79% 0.207 294.5)
XYZxyz(30.8234, 20.1665, 83.9131)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FEF #C0EF5F
analogous
#5F78EF #8E5FEF #D65FEF
triadic
#8E5FEF #EF8E5F #5FEF8E
tetradic
#8E5FEF #EF5F78 #C0EF5F #5FEFD6
square
#8E5FEF #EF5F78 #C0EF5F #5FEFD6
split-complementary
#8E5FEF #EFD65F #78EF5F
monochromatic
#4C13C0 #6727E9 #8E5FEF #B597F5 #DDCEFA

Accessibility & contrast

On white

4.17
#8E5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8E5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FEF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FEF#FFFFFF#000000##000000
##8E5FEF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#047AEC
Tritanopia (blue-blind)
#757F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5fef;
/* rgb */ color: rgb(142, 95, 239);
/* oklch */ color: oklch(60.8% 0.207 294.5);
Tailwind
colors: {
  custom: {
    50: '#b58ef5',
    500: '#8e5fef',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fef;
$custom-light: #b58ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fef",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 259.583,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.20688,
    "h": 294.5
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#8E5FEF
secondary
#DDEDBD
accent
#DE0798
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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