#8B4BD2#8B4BD2

#8B4BD2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.200 H 302.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B4BD2
RGBrgb(139, 75, 210)
HSLhsl(268, 60%, 56%)
HSVhsv(268, 64%, 82%)
CMYKcmyk(33.8%, 64.3%, 0%, 17.6%)
CIE-LABlab(45.87, 52.79, -59.61)
CIE-LCHlch(45.87, 79.62, 311.52°)
OKLaboklab(55.63% 0.1061 -0.1693)
OKLCHoklch(55.63% 0.2 302.1)
XYZxyz(24.7937, 15.1742, 62.5830)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BD2 #92D24B
analogous
#4B4ED2 #8B4BD2 #CE4BD2
triadic
#8B4BD2 #D28B4B #4BD28B
tetradic
#8B4BD2 #D24B4E #92D24B #4BD2CE
square
#8B4BD2 #D24B4E #92D24B #4BD2CE
split-complementary
#8B4BD2 #D2CE4B #4ED24B
monochromatic
#4F2182 #6C2DB3 #8B4BD2 #AB7CDE #CAADEA

Accessibility & contrast

On white

5.20
#8B4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8B4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BD2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BD2#FFFFFF#000000##FFFFFF
##8B4BD21.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#176CCF
Tritanopia (blue-blind)
#7D6988
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4bd2;
/* rgb */ color: rgb(139, 75, 210);
/* oklch */ color: oklch(55.6% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#b281e1',
    500: '#8b4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bd2;
$custom-light: #b281e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bd2",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 268.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.19981,
    "h": 302.1
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#8B4BD2
secondary
#BED8A0
accent
#E34598
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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