#8B5EDD#8B5EDD

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

Color values

HEX#8B5EDD
RGBrgb(139, 94, 221)
HSLhsl(261, 65%, 62%)
HSVhsv(261, 57%, 87%)
CMYKcmyk(37.1%, 57.5%, 0%, 13.3%)
CIE-LABlab(50.35, 45.49, -58.66)
CIE-LCHlch(50.35, 74.24, 307.80°)
OKLaboklab(59.12% 0.0835 -0.1666)
OKLCHoklch(59.12% 0.186 296.6)
XYZxyz(27.6980, 18.7144, 70.5455)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EDD #B0DD5E
analogous
#5E71DD #8B5EDD #CB5EDD
triadic
#8B5EDD #DD8B5E #5EDD8B
tetradic
#8B5EDD #DD5E71 #B0DD5E #5EDDCB
square
#8B5EDD #DD5E71 #B0DD5E #5EDDCB
split-complementary
#8B5EDD #DDCB5E #71DD5E
monochromatic
#4E229F #672CD2 #8B5EDD #AF91E8 #D4C3F2

Accessibility & contrast

On white

4.43
#8B5EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8B5EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EDD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EDD#FFFFFF#000000##000000
##8B5EDD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1878E1
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#787995
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5edd;
/* rgb */ color: rgb(139, 94, 221);
/* oklch */ color: oklch(59.1% 0.186 296.6);
Tailwind
colors: {
  custom: {
    50: '#b28de8',
    500: '#8b5edd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5edd;
$custom-light: #b28de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5edd",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 261.26,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.18634,
    "h": 296.6
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#8B5EDD
secondary
#D2E3B4
accent
#CD198D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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