#8B4DC9#8B4DC9

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

Color values

HEX#8B4DC9
RGBrgb(139, 77, 201)
HSLhsl(270, 53%, 55%)
HSVhsv(270, 62%, 79%)
CMYKcmyk(30.8%, 61.7%, 0%, 21.2%)
CIE-LABlab(45.65, 49.59, -54.79)
CIE-LCHlch(45.65, 73.89, 312.15°)
OKLaboklab(55.28% 0.1043 -0.1552)
OKLCHoklch(55.28% 0.187 303.9)
XYZxyz(23.8416, 15.0138, 56.8889)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DC9 #8BC94D
analogous
#4D4DC9 #8B4DC9 #C94DC9
triadic
#8B4DC9 #C98B4D #4DC98B
tetradic
#8B4DC9 #C94D4D #8BC94D #4DC9C9
square
#8B4DC9 #C94D4D #8BC94D #4DC9C9
split-complementary
#8B4DC9 #C9C94D #4DC94D
monochromatic
#4E2477 #6C32A6 #8B4DC9 #AA7CD7 #C8ABE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B4DC9#FFFFFF#000000##FFFFFF
##8B4DC91.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)
#006BCD
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#7F6784
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4dc9;
/* rgb */ color: rgb(139, 77, 201);
/* oklch */ color: oklch(55.3% 0.187 303.9);
Tailwind
colors: {
  custom: {
    50: '#b182da',
    500: '#8b4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dc9;
$custom-light: #b182da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dc9",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.18698,
    "h": 303.9
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#8B4DC9
secondary
#B9D39F
accent
#DD4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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