#8B5CC9#8B5CC9

#8B5CC9 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.165 H 301.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8B5CC9
RGBrgb(139, 92, 201)
HSLhsl(266, 50%, 57%)
HSVhsv(266, 54%, 79%)
CMYKcmyk(30.8%, 54.2%, 0%, 21.2%)
CIE-LABlab(48.71, 41.50, -49.88)
CIE-LCHlch(48.71, 64.89, 309.76°)
OKLaboklab(57.52% 0.0856 -0.1408)
OKLCHoklch(57.52% 0.165 301.3)
XYZxyz(25.0148, 17.3602, 57.2800)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CC9 #9AC95C
analogous
#5C63C9 #8B5CC9 #C25CC9
triadic
#8B5CC9 #C98B5C #5CC98B
tetradic
#8B5CC9 #C95C63 #9AC95C #5CC9C2
square
#8B5CC9 #C95C63 #9AC95C #5CC9C2
split-complementary
#8B5CC9 #C9C25C #63C95C
monochromatic
#4F2A80 #6C3AAE #8B5CC9 #AC8AD8 #CCB8E7

Accessibility & contrast

On white

4.70
#8B5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8B5CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CC9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CC9#FFFFFF#000000##FFFFFF
##8B5CC91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CD
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#7F718A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5cc9;
/* rgb */ color: rgb(139, 92, 201);
/* oklch */ color: oklch(57.5% 0.165 301.3);
Tailwind
colors: {
  custom: {
    50: '#b08cda',
    500: '#8b5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cc9;
$custom-light: #b08cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cc9",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 265.872,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.1648,
    "h": 301.3
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#8B5CC9
secondary
#C3D6AA
accent
#DA4E9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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