#8B4FBB#8B4FBB

#8B4FBB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.168 H 307.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8B4FBB
RGBrgb(139, 79, 187)
HSLhsl(273, 44%, 52%)
HSVhsv(273, 58%, 73%)
CMYKcmyk(25.7%, 57.8%, 0%, 26.7%)
CIE-LABlab(45.18, 45.20, -47.43)
CIE-LCHlch(45.18, 65.51, 313.62°)
OKLaboklab(54.66% 0.102 -0.1336)
OKLCHoklch(54.66% 0.168 307.4)
XYZxyz(22.4112, 14.6691, 48.6548)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FBB #7FBB4F
analogous
#554FBB #8B4FBB #BB4FB5
triadic
#8B4FBB #BB8B4F #4FBB8B
tetradic
#8B4FBB #BB554F #7FBB4F #4FB5BB
square
#8B4FBB #BB554F #7FBB4F #4FB5BB
split-complementary
#8B4FBB #B5BB4F #4FBB55
monochromatic
#4B2868 #6B3994 #8B4FBB #A87BCC #C5A7DD

Accessibility & contrast

On white

5.34
#8B4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8B4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FBB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FBB#FFFFFF#000000##FFFFFF
##8B4FBB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#84637D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4fbb;
/* rgb */ color: rgb(139, 79, 187);
/* oklch */ color: oklch(54.7% 0.168 307.4);
Tailwind
colors: {
  custom: {
    50: '#b083d0',
    500: '#8b4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fbb;
$custom-light: #b083d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fbb",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 273.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.16809,
    "h": 307.4
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#8B4FBB
secondary
#B0CA9B
accent
#D4548D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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