#8E5CF2#8E5CF2

#8E5CF2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.214 H 294.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8E5CF2
RGBrgb(142, 92, 242)
HSLhsl(260, 85%, 65%)
HSVhsv(260, 62%, 95%)
CMYKcmyk(41.3%, 62%, 0%, 5.1%)
CIE-LABlab(51.63, 52.70, -68.40)
CIE-LCHlch(51.63, 86.35, 307.61°)
OKLaboklab(60.56% 0.0888 -0.1951)
OKLCHoklch(60.56% 0.214 294.5)
XYZxyz(31.0052, 19.8151, 86.1783)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CF2 #C0F25C
analogous
#5C75F2 #8E5CF2 #D95CF2
triadic
#8E5CF2 #F28E5C #5CF28E
tetradic
#8E5CF2 #F25C75 #C0F25C #5CF2D9
square
#8E5CF2 #F25C75 #C0F25C #5CF2D9
split-complementary
#8E5CF2 #F2D95C #75F25C
monochromatic
#4C10C4 #6723ED #8E5CF2 #B595F7 #DDCDFB

Accessibility & contrast

On white

4.23
#8E5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8E5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CF2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CF2#FFFFFF#000000##000000
##8E5CF21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#737E9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5cf2;
/* rgb */ color: rgb(142, 92, 242);
/* oklch */ color: oklch(60.6% 0.214 294.5);
Tailwind
colors: {
  custom: {
    50: '#b58cf7',
    500: '#8e5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cf2;
$custom-light: #b58cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cf2",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 260,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.21438,
    "h": 294.5
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#8E5CF2
secondary
#DDEEBC
accent
#E20498
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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