#8B5EDC#8B5EDC

#8B5EDC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.185 H 296.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8B5EDC
RGBrgb(139, 94, 220)
HSLhsl(261, 64%, 62%)
HSVhsv(261, 57%, 86%)
CMYKcmyk(36.8%, 57.3%, 0%, 13.7%)
CIE-LABlab(50.29, 45.24, -58.20)
CIE-LCHlch(50.29, 73.71, 307.86°)
OKLaboklab(59.05% 0.0835 -0.1652)
OKLCHoklch(59.05% 0.185 296.8)
XYZxyz(27.5651, 18.6612, 69.8460)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EDC #AFDC5E
analogous
#5E70DC #8B5EDC #CA5EDC
triadic
#8B5EDC #DC8B5E #5EDC8B
tetradic
#8B5EDC #DC5E70 #AFDC5E #5EDCCA
square
#8B5EDC #DC5E70 #AFDC5E #5EDCCA
split-complementary
#8B5EDC #DCCA5E #70DC5E
monochromatic
#4E229D #672DD0 #8B5EDC #AF90E7 #D3C3F2

Accessibility & contrast

On white

4.44
#8B5EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8B5EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EDC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EDC#FFFFFF#000000##000000
##8B5EDC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#787994
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5edc;
/* rgb */ color: rgb(139, 94, 220);
/* oklch */ color: oklch(59.1% 0.185 296.8);
Tailwind
colors: {
  custom: {
    50: '#b18de8',
    500: '#8b5edc',
    950: '#000000',
  },
}
SCSS
$custom: #8b5edc;
$custom-light: #b18de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5edc",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 261.429,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.18513,
    "h": 296.8
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#8B5EDC
secondary
#D2E2B3
accent
#CC198C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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