#8E5BDA#8E5BDA

#8E5BDA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.187 H 299.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8E5BDA
RGBrgb(142, 91, 218)
HSLhsl(264, 63%, 61%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(34.9%, 58.3%, 0%, 14.5%)
CIE-LABlab(49.85, 47.05, -57.75)
CIE-LCHlch(49.85, 74.49, 309.17°)
OKLaboklab(58.77% 0.091 -0.1638)
OKLCHoklch(58.77% 0.187 299.1)
XYZxyz(27.5482, 18.2946, 68.3959)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BDA #A7DA5B
analogous
#5B68DA #8E5BDA #CD5BDA
triadic
#8E5BDA #DA8E5B #5BDA8E
tetradic
#8E5BDA #DA5B68 #A7DA5B #5BDACD
square
#8E5BDA #DA5B68 #A7DA5B #5BDACD
split-complementary
#8E5BDA #DACD5B #68DA5B
monochromatic
#522298 #6C2ECA #8E5BDA #B08DE5 #D3BFF1

Accessibility & contrast

On white

4.51
#8E5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8E5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BDA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BDA#FFFFFF#000000##000000
##8E5BDA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1576DE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#7D7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5bda;
/* rgb */ color: rgb(142, 91, 218);
/* oklch */ color: oklch(58.8% 0.187 299.1);
Tailwind
colors: {
  custom: {
    50: '#b38be6',
    500: '#8e5bda',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bda;
$custom-light: #b38be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bda",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 264.094,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.18738,
    "h": 299.1
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#8E5BDA
secondary
#CDE1B0
accent
#CB1B84
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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