#8B5CEA#8B5CEA

#8B5CEA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.205 H 294.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B5CEA
RGBrgb(139, 92, 234)
HSLhsl(260, 77%, 64%)
HSVhsv(260, 61%, 92%)
CMYKcmyk(40.6%, 60.7%, 0%, 8.2%)
CIE-LABlab(50.78, 49.98, -65.30)
CIE-LCHlch(50.78, 82.23, 307.43°)
OKLaboklab(59.71% 0.0854 -0.1861)
OKLCHoklch(59.71% 0.205 294.6)
XYZxyz(29.3219, 19.0831, 79.9645)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CEA #BBEA5C
analogous
#5C74EA #8B5CEA #D25CEA
triadic
#8B5CEA #EA8B5C #5CEA8B
tetradic
#8B5CEA #EA5C74 #BBEA5C #5CEAD2
square
#8B5CEA #EA5C74 #BBEA5C #5CEAD2
split-complementary
#8B5CEA #EAD25C #74EA5C
monochromatic
#4B17B4 #6426E3 #8B5CEA #B292F1 #D8C8F8

Accessibility & contrast

On white

4.36
#8B5CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8B5CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CEA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CEA#FFFFFF#000000##000000
##8B5CEA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#727C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5cea;
/* rgb */ color: rgb(139, 92, 234);
/* oklch */ color: oklch(59.7% 0.205 294.6);
Tailwind
colors: {
  custom: {
    50: '#b38cf2',
    500: '#8b5cea',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cea;
$custom-light: #b38cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cea",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 259.859,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.20475,
    "h": 294.6
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#8B5CEA
secondary
#D9EAB8
accent
#D90C95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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