#8B5CED#8B5CED

#8B5CED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.208 H 294.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B5CED
RGBrgb(139, 92, 237)
HSLhsl(259, 80%, 65%)
HSVhsv(259, 61%, 93%)
CMYKcmyk(41.4%, 61.2%, 0%, 7.1%)
CIE-LABlab(50.99, 50.77, -66.66)
CIE-LCHlch(50.99, 83.79, 307.30°)
OKLaboklab(59.92% 0.0852 -0.1901)
OKLCHoklch(59.92% 0.208 294.1)
XYZxyz(29.7566, 19.2569, 82.2535)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CED #BEED5C
analogous
#5C76ED #8B5CED #D35CED
triadic
#8B5CED #ED8B5C #5CED8B
tetradic
#8B5CED #ED5C76 #BEED5C #5CEDD3
square
#8B5CED #ED5C76 #BEED5C #5CEDD3
split-complementary
#8B5CED #EDD35C #76ED5C
monochromatic
#4A15BA #6425E7 #8B5CED #B293F3 #D9CAF9

Accessibility & contrast

On white

4.33
#8B5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8B5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CED#FFFFFF#000000##000000
##8B5CED1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#717D9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5ced;
/* rgb */ color: rgb(139, 92, 237);
/* oklch */ color: oklch(59.9% 0.208 294.1);
Tailwind
colors: {
  custom: {
    50: '#b38cf4',
    500: '#8b5ced',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ced;
$custom-light: #b38cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ced",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 259.448,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.20831,
    "h": 294.1
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#8B5CED
secondary
#DBEBB9
accent
#DC0998
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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