#8B5CE8#8B5CE8

#8B5CE8 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.202 H 295.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8B5CE8
RGBrgb(139, 92, 232)
HSLhsl(260, 75%, 64%)
HSVhsv(260, 60%, 91%)
CMYKcmyk(40.1%, 60.3%, 0%, 9%)
CIE-LABlab(50.65, 49.46, -64.39)
CIE-LCHlch(50.65, 81.19, 307.53°)
OKLaboklab(59.57% 0.0855 -0.1834)
OKLCHoklch(59.57% 0.202 295)
XYZxyz(29.0363, 18.9688, 78.4598)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CE8 #B9E85C
analogous
#5C73E8 #8B5CE8 #D15CE8
triadic
#8B5CE8 #E88B5C #5CE88B
tetradic
#8B5CE8 #E85C73 #B9E85C #5CE8D1
square
#8B5CE8 #E85C73 #B9E85C #5CE8D1
split-complementary
#8B5CE8 #E8D15C #73E85C
monochromatic
#4C19B1 #6526E0 #8B5CE8 #B192F0 #D7C7F7

Accessibility & contrast

On white

4.38
#8B5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8B5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CE8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CE8#FFFFFF#000000##000000
##8B5CE81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0A76E5
Tritanopia (blue-blind)
#737B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5ce8;
/* rgb */ color: rgb(139, 92, 232);
/* oklch */ color: oklch(59.6% 0.202 295.0);
Tailwind
colors: {
  custom: {
    50: '#b38cf0',
    500: '#8b5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ce8;
$custom-light: #b38cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ce8",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 260.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.20236,
    "h": 295
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#8B5CE8
secondary
#D8E9B7
accent
#D70E94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8B5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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