#8B4CCC#8B4CCC

#8B4CCC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.192 H 303.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8B4CCC
RGBrgb(139, 76, 204)
HSLhsl(270, 56%, 55%)
HSVhsv(270, 63%, 80%)
CMYKcmyk(31.9%, 62.7%, 0%, 20%)
CIE-LABlab(45.66, 50.82, -56.51)
CIE-LCHlch(45.66, 76.00, 311.97°)
OKLaboklab(55.35% 0.1054 -0.1602)
OKLCHoklch(55.35% 0.192 303.3)
XYZxyz(24.1285, 15.0175, 58.7426)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CCC #8DCC4C
analogous
#4C4DCC #8B4CCC #CB4CCC
triadic
#8B4CCC #CC8B4C #4CCC8B
tetradic
#8B4CCC #CC4C4D #8DCC4C #4CCCCB
square
#8B4CCC #CC4C4D #8DCC4C #4CCCCB
split-complementary
#8B4CCC #CCCB4C #4DCC4C
monochromatic
#4E237B #6C31AA #8B4CCC #AA7CDA #C9ABE7

Accessibility & contrast

On white

5.25
#8B4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8B4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CCC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CCC#FFFFFF#000000##FFFFFF
##8B4CCC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#7F6785
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4ccc;
/* rgb */ color: rgb(139, 76, 204);
/* oklch */ color: oklch(55.4% 0.192 303.3);
Tailwind
colors: {
  custom: {
    50: '#b181dc',
    500: '#8b4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ccc;
$custom-light: #b181dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ccc",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 269.531,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5535,
    "c": 0.19175,
    "h": 303.3
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#8B4CCC
secondary
#BAD59F
accent
#DF4995
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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