#8B5CD3#8B5CD3

#8B5CD3 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.177 H 299.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8B5CD3
RGBrgb(139, 92, 211)
HSLhsl(264, 57%, 59%)
HSVhsv(264, 56%, 83%)
CMYKcmyk(34.1%, 56.4%, 0%, 17.3%)
CIE-LABlab(49.31, 44.02, -54.65)
CIE-LCHlch(49.31, 70.18, 308.85°)
OKLaboklab(58.16% 0.0859 -0.1548)
OKLCHoklch(58.16% 0.177 299)
XYZxyz(26.2296, 17.8462, 63.6781)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CD3 #A4D35C
analogous
#5C69D3 #8B5CD3 #C65CD3
triadic
#8B5CD3 #D38B5C #5CD38B
tetradic
#8B5CD3 #D35C69 #A4D35C #5CD3C6
square
#8B5CD3 #D35C69 #A4D35C #5CD3C6
split-complementary
#8B5CD3 #D3C65C #69D35C
monochromatic
#4F268E #6A33BE #8B5CD3 #AD8CE0 #D0BCED

Accessibility & contrast

On white

4.60
#8B5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B5CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CD3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CD3#FFFFFF#000000##FFFFFF
##8B5CD31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2575D7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#7B748F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b5cd3;
/* rgb */ color: rgb(139, 92, 211);
/* oklch */ color: oklch(58.2% 0.177 299.0);
Tailwind
colors: {
  custom: {
    50: '#b18ce1',
    500: '#8b5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cd3;
$custom-light: #b18ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cd3",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 263.697,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.17704,
    "h": 299
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#8B5CD3
secondary
#CADDAE
accent
#E147A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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