#8B4CDA#8B4CDA

#8B4CDA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.207 H 300.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8B4CDA
RGBrgb(139, 76, 218)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 65%, 85%)
CMYKcmyk(36.2%, 65.1%, 0%, 14.5%)
CIE-LABlab(46.60, 54.24, -63.00)
CIE-LCHlch(46.60, 83.14, 310.73°)
OKLaboklab(56.33% 0.1042 -0.1793)
OKLCHoklch(56.33% 0.207 300.2)
XYZxyz(25.8837, 15.7196, 67.9866)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CDA #9BDA4C
analogous
#4C54DA #8B4CDA #D24CDA
triadic
#8B4CDA #DA8B4C #4CDA8B
tetradic
#8B4CDA #DA4C54 #9BDA4C #4CDAD2
square
#8B4CDA #DA4C54 #9BDA4C #4CDAD2
split-complementary
#8B4CDA #DAD24C #54DA4C
monochromatic
#4F1D8E #6C28C1 #8B4CDA #AC7FE4 #CDB1EF

Accessibility & contrast

On white

5.07
#8B4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8B4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CDA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CDA#FFFFFF#000000##FFFFFF
##8B4CDA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#7A6C8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4cda;
/* rgb */ color: rgb(139, 76, 218);
/* oklch */ color: oklch(56.3% 0.207 300.2);
Tailwind
colors: {
  custom: {
    50: '#b282e6',
    500: '#8b4cda',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cda;
$custom-light: #b282e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cda",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 266.62,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.2074,
    "h": 300.2
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#8B4CDA
secondary
#C4DDA4
accent
#E93F9D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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