#8E5BE5#8E5BE5

#8E5BE5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.200 H 296.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8E5BE5
RGBrgb(142, 91, 229)
HSLhsl(262, 73%, 63%)
HSVhsv(262, 60%, 90%)
CMYKcmyk(38%, 60.3%, 0%, 10.2%)
CIE-LABlab(50.56, 49.86, -62.84)
CIE-LCHlch(50.56, 80.21, 308.43°)
OKLaboklab(59.51% 0.0907 -0.1787)
OKLCHoklch(59.51% 0.2 296.9)
XYZxyz(29.0356, 18.8896, 76.2298)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BE5 #B2E55B
analogous
#5B6DE5 #8E5BE5 #D35BE5
triadic
#8E5BE5 #E58E5B #5BE58E
tetradic
#8E5BE5 #E55B6D #B2E55B #5BE5D3
square
#8E5BE5 #E55B6D #B2E55B #5BE5D3
split-complementary
#8E5BE5 #E5D35B #6DE55B
monochromatic
#501BAB #6A26DD #8E5BE5 #B290ED #D7C5F6

Accessibility & contrast

On white

4.40
#8E5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8E5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BE5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BE5#FFFFFF#000000##000000
##8E5BE51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1B77E2
Tritanopia (blue-blind)
#797998
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5be5;
/* rgb */ color: rgb(142, 91, 229);
/* oklch */ color: oklch(59.5% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#b48cee',
    500: '#8e5be5',
    950: '#000000',
  },
}
SCSS
$custom: #8e5be5;
$custom-light: #b48cee;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5be5",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 262.174,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.20043,
    "h": 296.9
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#8E5BE5
secondary
#D4E7B5
accent
#D5118C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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