#8B5CEC#8B5CEC

#8B5CEC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.207 H 294.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8B5CEC
RGBrgb(139, 92, 236)
HSLhsl(260, 79%, 64%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(41.1%, 61%, 0%, 7.5%)
CIE-LABlab(50.92, 50.51, -66.20)
CIE-LCHlch(50.92, 83.27, 307.34°)
OKLaboklab(59.85% 0.0853 -0.1888)
OKLCHoklch(59.85% 0.207 294.3)
XYZxyz(29.6109, 19.1987, 81.4862)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CEC #BDEC5C
analogous
#5C75EC #8B5CEC #D35CEC
triadic
#8B5CEC #EC8B5C #5CEC8B
tetradic
#8B5CEC #EC5C75 #BDEC5C #5CECD3
square
#8B5CEC #EC5C75 #BDEC5C #5CECD3
split-complementary
#8B5CEC #ECD35C #75EC5C
monochromatic
#4B15B8 #6425E6 #8B5CEC #B293F2 #D9CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5CEC#FFFFFF#000000##000000
##8B5CEC1.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)
#007BF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#717C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5cec;
/* rgb */ color: rgb(139, 92, 236);
/* oklch */ color: oklch(59.8% 0.207 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38cf3',
    500: '#8b5cec',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cec;
$custom-light: #b38cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cec",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 259.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.20713,
    "h": 294.3
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#8B5CEC
secondary
#DBEBB9
accent
#DB0A97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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