#8B4CD7#8B4CD7

#8B4CD7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.204 H 300.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD7
RGBrgb(139, 76, 215)
HSLhsl(267, 63%, 57%)
HSVhsv(267, 65%, 84%)
CMYKcmyk(35.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(46.40, 53.51, -61.63)
CIE-LCHlch(46.40, 81.61, 310.96°)
OKLaboklab(56.12% 0.1045 -0.1753)
OKLCHoklch(56.12% 0.204 300.8)
XYZxyz(25.4947, 15.5640, 65.9378)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD7 #98D74C
analogous
#4C53D7 #8B4CD7 #D04CD7
triadic
#8B4CD7 #D78B4C #4CD78B
tetradic
#8B4CD7 #D74C53 #98D74C #4CD7D0
square
#8B4CD7 #D74C53 #98D74C #4CD7D0
split-complementary
#8B4CD7 #D7D04C #53D74C
monochromatic
#4F1F8A #6C2ABC #8B4CD7 #AB7EE2 #CCB0ED

Accessibility & contrast

On white

5.11
#8B4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8B4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CD7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CD7#FFFFFF#000000##FFFFFF
##8B4CD71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#076DD4
Tritanopia (blue-blind)
#7B6B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4cd7;
/* rgb */ color: rgb(139, 76, 215);
/* oklch */ color: oklch(56.1% 0.204 300.8);
Tailwind
colors: {
  custom: {
    50: '#b282e4',
    500: '#8b4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd7;
$custom-light: #b282e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd7",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 267.194,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.20406,
    "h": 300.8
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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