#8B4BD7#8B4BD7

#8B4BD7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.205 H 300.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8B4BD7
RGBrgb(139, 75, 215)
HSLhsl(267, 64%, 57%)
HSVhsv(267, 65%, 84%)
CMYKcmyk(35.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(46.21, 54.01, -61.92)
CIE-LCHlch(46.21, 82.17, 311.09°)
OKLaboklab(55.99% 0.1056 -0.1761)
OKLCHoklch(55.99% 0.205 300.9)
XYZxyz(25.4263, 15.4273, 65.9150)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BD7 #97D74B
analogous
#4B51D7 #8B4BD7 #D14BD7
triadic
#8B4BD7 #D78B4B #4BD78B
tetradic
#8B4BD7 #D74B51 #97D74B #4BD7D1
square
#8B4BD7 #D74B51 #97D74B #4BD7D1
split-complementary
#8B4BD7 #D7D14B #51D74B
monochromatic
#4F1E89 #6C2ABB #8B4BD7 #AB7DE2 #CCAFED

Accessibility & contrast

On white

5.14
#8B4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8B4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BD7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BD7#FFFFFF#000000##FFFFFF
##8B4BD71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#026DD4
Tritanopia (blue-blind)
#7B6A8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4bd7;
/* rgb */ color: rgb(139, 75, 215);
/* oklch */ color: oklch(56.0% 0.205 300.9);
Tailwind
colors: {
  custom: {
    50: '#b281e4',
    500: '#8b4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bd7;
$custom-light: #b281e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bd7",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 267.429,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.20536,
    "h": 300.9
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#8B4BD7
secondary
#C1DBA2
accent
#E7419B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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