#8B5CE1#8B5CE1

#8B5CE1 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.194 H 296.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8B5CE1
RGBrgb(139, 92, 225)
HSLhsl(261, 69%, 62%)
HSVhsv(261, 59%, 88%)
CMYKcmyk(38.2%, 59.1%, 0%, 11.8%)
CIE-LABlab(50.19, 47.63, -61.18)
CIE-LCHlch(50.19, 77.54, 307.90°)
OKLaboklab(59.09% 0.0858 -0.174)
OKLCHoklch(59.09% 0.194 296.2)
XYZxyz(28.0617, 18.5790, 73.3272)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CE1 #B2E15C
analogous
#5C70E1 #8B5CE1 #CE5CE1
triadic
#8B5CE1 #E18B5C #5CE18B
tetradic
#8B5CE1 #E15C70 #B2E15C #5CE1CE
square
#8B5CE1 #E15C70 #B2E15C #5CE1CE
split-complementary
#8B5CE1 #E1CE5C #70E15C
monochromatic
#4E1EA4 #6628D7 #8B5CE1 #B090EB #D5C3F4

Accessibility & contrast

On white

4.45
#8B5CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8B5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CE1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CE1#FFFFFF#000000##000000
##8B5CE11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2176DE
Tritanopia (blue-blind)
#767996
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5ce1;
/* rgb */ color: rgb(139, 92, 225);
/* oklch */ color: oklch(59.1% 0.194 296.2);
Tailwind
colors: {
  custom: {
    50: '#b28ceb',
    500: '#8b5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ce1;
$custom-light: #b28ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ce1",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 261.203,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.19399,
    "h": 296.2
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#8B5CE1
secondary
#D4E5B4
accent
#D1158E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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