#8B5EEC#8B5EEC

#8B5EEC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.1% C 0.204 H 294.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8B5EEC
RGBrgb(139, 94, 236)
HSLhsl(259, 79%, 65%)
HSVhsv(259, 60%, 93%)
CMYKcmyk(41.1%, 60.2%, 0%, 7.5%)
CIE-LABlab(51.32, 49.43, -65.55)
CIE-LCHlch(51.32, 82.10, 307.02°)
OKLaboklab(60.14% 0.0831 -0.1868)
OKLCHoklch(60.14% 0.204 294)
XYZxyz(29.7864, 19.5498, 81.5447)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EEC #BFEC5E
analogous
#5E78EC #8B5EEC #D25EEC
triadic
#8B5EEC #EC8B5E #5EEC8B
tetradic
#8B5EEC #EC5E78 #BFEC5E #5EECD2
square
#8B5EEC #EC5E78 #BFEC5E #5EECD2
split-complementary
#8B5EEC #ECD25E #78EC5E
monochromatic
#4A16BA #6427E6 #8B5EEC #B295F2 #DACBF9

Accessibility & contrast

On white

4.28
#8B5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8B5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EEC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EEC#FFFFFF#000000##000000
##8B5EEC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#717E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5eec;
/* rgb */ color: rgb(139, 94, 236);
/* oklch */ color: oklch(60.1% 0.204 294.0);
Tailwind
colors: {
  custom: {
    50: '#b38df3',
    500: '#8b5eec',
    950: '#000000',
  },
}
SCSS
$custom: #8b5eec;
$custom-light: #b38df3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5eec",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 259.014,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.20447,
    "h": 294
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#8B5EEC
secondary
#DCEBBB
accent
#DB0A99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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