#8B4DD3#8B4DD3

#8B4DD3 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.198 H 301.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8B4DD3
RGBrgb(139, 77, 211)
HSLhsl(268, 60%, 56%)
HSVhsv(268, 64%, 83%)
CMYKcmyk(34.1%, 63.5%, 0%, 17.3%)
CIE-LABlab(46.31, 52.02, -59.48)
CIE-LCHlch(46.31, 79.01, 311.17°)
OKLaboklab(55.97% 0.1037 -0.1689)
OKLCHoklch(55.97% 0.198 301.5)
XYZxyz(25.0564, 15.4998, 63.2871)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DD3 #95D34D
analogous
#4D52D3 #8B4DD3 #CE4DD3
triadic
#8B4DD3 #D38B4D #4DD38B
tetradic
#8B4DD3 #D34D52 #95D34D #4DD3CE
square
#8B4DD3 #D34D52 #95D34D #4DD3CE
split-complementary
#8B4DD3 #D3CE4D #52D34D
monochromatic
#4F2185 #6C2DB6 #8B4DD3 #AB7EDF #CBAFEB

Accessibility & contrast

On white

5.12
#8B4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8B4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DD3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DD3#FFFFFF#000000##FFFFFF
##8B4DD31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#7C6A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4dd3;
/* rgb */ color: rgb(139, 77, 211);
/* oklch */ color: oklch(56.0% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#b282e1',
    500: '#8b4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dd3;
$custom-light: #b282e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dd3",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 267.761,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.19825,
    "h": 301.5
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#8B4DD3
secondary
#C0D9A2
accent
#E4449A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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