#8B5EE5#8B5EE5

#8B5EE5 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.196 H 295.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8B5EE5
RGBrgb(139, 94, 229)
HSLhsl(260, 72%, 63%)
HSVhsv(260, 59%, 90%)
CMYKcmyk(39.3%, 59%, 0%, 10.2%)
CIE-LABlab(50.86, 47.59, -62.36)
CIE-LCHlch(50.86, 78.44, 307.35°)
OKLaboklab(59.66% 0.0833 -0.1774)
OKLCHoklch(59.66% 0.196 295.2)
XYZxyz(28.7893, 19.1509, 76.2932)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EE5 #B8E55E
analogous
#5E74E5 #8B5EE5 #CE5EE5
triadic
#8B5EE5 #E58B5E #5EE58B
tetradic
#8B5EE5 #E55E74 #B8E55E #5EE5CE
square
#8B5EE5 #E55E74 #B8E55E #5EE5CE
split-complementary
#8B5EE5 #E5CE5E #74E55E
monochromatic
#4C1CAD #6529DC #8B5EE5 #B193EE #D7C7F6

Accessibility & contrast

On white

4.35
#8B5EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8B5EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EE5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EE5#FFFFFF#000000##000000
##8B5EE51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#747B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5ee5;
/* rgb */ color: rgb(139, 94, 229);
/* oklch */ color: oklch(59.7% 0.196 295.2);
Tailwind
colors: {
  custom: {
    50: '#b28dee',
    500: '#8b5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ee5;
$custom-light: #b28dee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ee5",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 260,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.19605,
    "h": 295.2
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#8B5EE5
secondary
#D7E7B7
accent
#D41193
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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