#8B5CD8#8B5CD8

#8B5CD8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.183 H 298.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8B5CD8
RGBrgb(139, 92, 216)
HSLhsl(263, 61%, 60%)
HSVhsv(263, 57%, 85%)
CMYKcmyk(35.6%, 57.4%, 0%, 15.3%)
CIE-LABlab(49.62, 45.30, -57.00)
CIE-LCHlch(49.62, 72.81, 308.48°)
OKLaboklab(58.48% 0.0859 -0.1617)
OKLCHoklch(58.48% 0.183 298)
XYZxyz(26.8662, 18.1008, 67.0308)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CD8 #A9D85C
analogous
#5C6BD8 #8B5CD8 #C95CD8
triadic
#8B5CD8 #D88B5C #5CD88B
tetradic
#8B5CD8 #D85C6B #A9D85C #5CD8C9
square
#8B5CD8 #D85C6B #A9D85C #5CD8C9
split-complementary
#8B5CD8 #D8C95C #6BD85C
monochromatic
#4F2496 #6930C7 #8B5CD8 #AE8DE4 #D1BFF0

Accessibility & contrast

On white

4.55
#8B5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8B5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CD8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CD8#FFFFFF#000000##000000
##8B5CD81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DC
Deuteranopia (green-blind)
#3175D5
Tritanopia (blue-blind)
#7A7691
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5cd8;
/* rgb */ color: rgb(139, 92, 216);
/* oklch */ color: oklch(58.5% 0.183 298.0);
Tailwind
colors: {
  custom: {
    50: '#b18ce5',
    500: '#8b5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cd8;
$custom-light: #b18ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cd8",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 262.742,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.18312,
    "h": 298
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#8B5CD8
secondary
#CEE0B0
accent
#C91C88
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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