#8B5BEC#8B5BEC

#8B5BEC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.208 H 294.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B5BEC
RGBrgb(139, 91, 236)
HSLhsl(260, 79%, 64%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(41.1%, 61.4%, 0%, 7.5%)
CIE-LABlab(50.72, 51.05, -66.53)
CIE-LCHlch(50.72, 83.86, 307.50°)
OKLaboklab(59.7% 0.0864 -0.1897)
OKLCHoklch(59.7% 0.208 294.5)
XYZxyz(29.5248, 19.0266, 81.4575)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BEC #BCEC5B
analogous
#5B74EC #8B5BEC #D45BEC
triadic
#8B5BEC #EC8B5B #5BEC8B
tetradic
#8B5BEC #EC5B74 #BCEC5B #5BECD4
square
#8B5BEC #EC5B74 #BCEC5B #5BECD4
split-complementary
#8B5BEC #ECD45B #74EC5B
monochromatic
#4B15B7 #6424E6 #8B5BEC #B292F2 #D9C9F9

Accessibility & contrast

On white

4.37
#8B5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8B5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BEC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BEC#FFFFFF#000000##000000
##8B5BEC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#717C9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5bec;
/* rgb */ color: rgb(139, 91, 236);
/* oklch */ color: oklch(59.7% 0.208 294.5);
Tailwind
colors: {
  custom: {
    50: '#b38cf3',
    500: '#8b5bec',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bec;
$custom-light: #b38cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bec",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 259.862,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.20844,
    "h": 294.5
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#8B5BEC
secondary
#DAEBB8
accent
#DC0A96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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