#8B5EE6#8B5EE6

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

Color values

HEX#8B5EE6
RGBrgb(139, 94, 230)
HSLhsl(260, 73%, 64%)
HSVhsv(260, 59%, 90%)
CMYKcmyk(39.6%, 59.1%, 0%, 9.8%)
CIE-LABlab(50.93, 47.85, -62.82)
CIE-LCHlch(50.93, 78.96, 307.30°)
OKLaboklab(59.73% 0.0833 -0.1788)
OKLCHoklch(59.73% 0.197 295)
XYZxyz(28.9293, 19.2069, 77.0307)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EE6 #B9E65E
analogous
#5E75E6 #8B5EE6 #CF5EE6
triadic
#8B5EE6 #E68B5E #5EE68B
tetradic
#8B5EE6 #E65E75 #B9E65E #5EE6CF
square
#8B5EE6 #E65E75 #B9E65E #5EE6CF
split-complementary
#8B5EE6 #E6CF5E #75E65E
monochromatic
#4C1BAF #6529DE #8B5EE6 #B193EE #D7C8F6

Accessibility & contrast

On white

4.34
#8B5EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8B5EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EE6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EE6#FFFFFF#000000##000000
##8B5EE61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#1B77E3
Tritanopia (blue-blind)
#747C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5ee6;
/* rgb */ color: rgb(139, 94, 230);
/* oklch */ color: oklch(59.7% 0.197 295.0);
Tailwind
colors: {
  custom: {
    50: '#b28def',
    500: '#8b5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ee6;
$custom-light: #b28def;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ee6",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 259.853,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.19725,
    "h": 295
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#8B5EE6
secondary
#D8E8B8
accent
#D51094
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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