#8B4FBC#8B4FBC

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

Color values

HEX#8B4FBC
RGBrgb(139, 79, 188)
HSLhsl(273, 45%, 52%)
HSVhsv(273, 58%, 74%)
CMYKcmyk(26.1%, 58%, 0%, 26.3%)
CIE-LABlab(45.24, 45.44, -47.91)
CIE-LCHlch(45.24, 66.03, 313.48°)
OKLaboklab(54.72% 0.102 -0.135)
OKLCHoklch(54.72% 0.169 307.1)
XYZxyz(22.5187, 14.7120, 49.2206)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FBC #80BC4F
analogous
#554FBC #8B4FBC #BC4FB6
triadic
#8B4FBC #BC8B4F #4FBC8B
tetradic
#8B4FBC #BC554F #80BC4F #4FB6BC
square
#8B4FBC #BC554F #80BC4F #4FB6BC
split-complementary
#8B4FBC #B6BC4F #4FBC55
monochromatic
#4C2869 #6C3995 #8B4FBC #A87BCD #C5A8DE

Accessibility & contrast

On white

5.33
#8B4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8B4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FBC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FBC#FFFFFF#000000##FFFFFF
##8B4FBC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#83647E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4fbc;
/* rgb */ color: rgb(139, 79, 188);
/* oklch */ color: oklch(54.7% 0.169 307.1);
Tailwind
colors: {
  custom: {
    50: '#b083d1',
    500: '#8b4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fbc;
$custom-light: #b083d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fbc",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 273.028,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.16923,
    "h": 307.1
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#8B4FBC
secondary
#B1CB9C
accent
#D5538D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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