#8B4BBB#8B4BBB

#8B4BBB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.174 H 308.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8B4BBB
RGBrgb(139, 75, 187)
HSLhsl(274, 45%, 51%)
HSVhsv(274, 60%, 73%)
CMYKcmyk(25.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(44.39, 47.31, -48.69)
CIE-LCHlch(44.39, 67.88, 314.18°)
OKLaboklab(54.08% 0.1071 -0.1373)
OKLCHoklch(54.08% 0.174 308)
XYZxyz(22.1314, 14.1093, 48.5616)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BBB #7BBB4B
analogous
#534BBB #8B4BBB #BB4BB3
triadic
#8B4BBB #BB8B4B #4BBB8B
tetradic
#8B4BBB #BB534B #7BBB4B #4BB3BB
square
#8B4BBB #BB534B #7BBB4B #4BB3BB
split-complementary
#8B4BBB #B3BB4B #4BBB53
monochromatic
#4A2665 #6B3792 #8B4BBB #A877CC #C4A4DD

Accessibility & contrast

On white

5.49
#8B4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8B4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BBB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BBB#FFFFFF#000000##FFFFFF
##8B4BBB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#84617C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b4bbb;
/* rgb */ color: rgb(139, 75, 187);
/* oklch */ color: oklch(54.1% 0.174 308.0);
Tailwind
colors: {
  custom: {
    50: '#b080d0',
    500: '#8b4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bbb;
$custom-light: #b080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bbb",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 274.286,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.17412,
    "h": 308
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#8B4BBB
secondary
#ADCA98
accent
#D5538B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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