#8B5EEA#8B5EEA

#8B5EEA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.202 H 294.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8B5EEA
RGBrgb(139, 94, 234)
HSLhsl(259, 77%, 64%)
HSVhsv(259, 60%, 92%)
CMYKcmyk(40.6%, 59.8%, 0%, 8.2%)
CIE-LABlab(51.19, 48.90, -64.64)
CIE-LCHlch(51.19, 81.06, 307.11°)
OKLaboklab(60% 0.0832 -0.1842)
OKLCHoklch(60% 0.202 294.3)
XYZxyz(29.4975, 19.4342, 80.0230)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EEA #BDEA5E
analogous
#5E77EA #8B5EEA #D15EEA
triadic
#8B5EEA #EA8B5E #5EEA8B
tetradic
#8B5EEA #EA5E77 #BDEA5E #5EEAD1
square
#8B5EEA #EA5E77 #BDEA5E #5EEAD1
split-complementary
#8B5EEA #EAD15E #77EA5E
monochromatic
#4B18B6 #6428E3 #8B5EEA #B294F1 #D9CAF8

Accessibility & contrast

On white

4.30
#8B5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8B5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EEA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EEA#FFFFFF#000000##000000
##8B5EEA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0C78E7
Tritanopia (blue-blind)
#727D9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5eea;
/* rgb */ color: rgb(139, 94, 234);
/* oklch */ color: oklch(60.0% 0.202 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38df2',
    500: '#8b5eea',
    950: '#000000',
  },
}
SCSS
$custom: #8b5eea;
$custom-light: #b38df2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5eea",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 259.286,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.20207,
    "h": 294.3
  },
  "luminance": 0.19435
}

Semantic roles & 50–950 ramp

primary
#8B5EEA
secondary
#DBEABA
accent
#D90C97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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