#8E5BCA#8E5BCA

#8E5BCA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.168 H 302.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8E5BCA
RGBrgb(142, 91, 202)
HSLhsl(268, 51%, 57%)
HSVhsv(268, 55%, 79%)
CMYKcmyk(29.7%, 55%, 0%, 20.8%)
CIE-LABlab(48.88, 43.05, -50.17)
CIE-LCHlch(48.88, 66.11, 310.64°)
OKLaboklab(57.74% 0.0908 -0.1416)
OKLCHoklch(57.74% 0.168 302.7)
XYZxyz(25.5547, 17.4972, 57.8967)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BCA #97CA5B
analogous
#5B5FCA #8E5BCA #C65BCA
triadic
#8E5BCA #CA8E5B #5BCA8E
tetradic
#8E5BCA #CA5B5F #97CA5B #5BCAC6
square
#8E5BCA #CA5B5F #97CA5B #5BCAC6
split-complementary
#8E5BCA #CAC65B #5FCA5B
monochromatic
#522A81 #6F39AF #8E5BCA #AE89D9 #CEB8E8

Accessibility & contrast

On white

4.67
#8E5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8E5BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5BCA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BCA#FFFFFF#000000##FFFFFF
##8E5BCA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#83708A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e5bca;
/* rgb */ color: rgb(142, 91, 202);
/* oklch */ color: oklch(57.7% 0.168 302.7);
Tailwind
colors: {
  custom: {
    50: '#b28bdb',
    500: '#8e5bca',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bca;
$custom-light: #b28bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bca",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 267.568,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57741,
    "c": 0.16818,
    "h": 302.7
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#8E5BCA
secondary
#C2D7AA
accent
#DB4D9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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