#8B4DD7#8B4DD7

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

Color values

HEX#8B4DD7
RGBrgb(139, 77, 215)
HSLhsl(267, 63%, 57%)
HSVhsv(267, 64%, 84%)
CMYKcmyk(35.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(46.58, 53.00, -61.33)
CIE-LCHlch(46.58, 81.06, 310.83°)
OKLaboklab(56.25% 0.1034 -0.1744)
OKLCHoklch(56.25% 0.203 300.7)
XYZxyz(25.5641, 15.7028, 65.9609)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DD7 #99D74D
analogous
#4D54D7 #8B4DD7 #D04DD7
triadic
#8B4DD7 #D78B4D #4DD78B
tetradic
#8B4DD7 #D74D54 #99D74D #4DD7D0
square
#8B4DD7 #D74D54 #99D74D #4DD7D0
split-complementary
#8B4DD7 #D7D04D #54D74D
monochromatic
#4F1F8A #6C2ABC #8B4DD7 #AC7FE2 #CCB1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B4DD7#FFFFFF#000000##FFFFFF
##8B4DD71.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)
#006EDB
Deuteranopia (green-blind)
#0C6ED4
Tritanopia (blue-blind)
#7B6C8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4dd7;
/* rgb */ color: rgb(139, 77, 215);
/* oklch */ color: oklch(56.3% 0.203 300.7);
Tailwind
colors: {
  custom: {
    50: '#b282e4',
    500: '#8b4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dd7;
$custom-light: #b282e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dd7",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 266.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.20273,
    "h": 300.7
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#8B4DD7
secondary
#C3DCA4
accent
#E6419C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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