#8B4CCB#8B4CCB

#8B4CCB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.191 H 303.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8B4CCB
RGBrgb(139, 76, 203)
HSLhsl(270, 55%, 55%)
HSVhsv(270, 63%, 80%)
CMYKcmyk(31.5%, 62.6%, 0%, 20.4%)
CIE-LABlab(45.59, 50.58, -56.04)
CIE-LCHlch(45.59, 75.49, 312.07°)
OKLaboklab(55.28% 0.1054 -0.1588)
OKLCHoklch(55.28% 0.191 303.6)
XYZxyz(24.0089, 14.9697, 58.1129)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CCB #8CCB4C
analogous
#4C4DCB #8B4CCB #CB4CCB
triadic
#8B4CCB #CB8B4C #4CCB8B
tetradic
#8B4CCB #CB4C4D #8CCB4C #4CCBCB
square
#8B4CCB #CB4C4D #8CCB4C #4CCBCB
split-complementary
#8B4CCB #CBCB4C #4DCB4C
monochromatic
#4E2379 #6C31A9 #8B4CCB #AA7BD9 #C8ABE7

Accessibility & contrast

On white

5.26
#8B4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8B4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CCB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CCB#FFFFFF#000000##FFFFFF
##8B4CCB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#286CC8
Tritanopia (blue-blind)
#7F6785
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4ccb;
/* rgb */ color: rgb(139, 76, 203);
/* oklch */ color: oklch(55.3% 0.191 303.6);
Tailwind
colors: {
  custom: {
    50: '#b181dc',
    500: '#8b4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ccb;
$custom-light: #b181dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ccb",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 269.764,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.19063,
    "h": 303.6
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#8B4CCB
secondary
#BAD49F
accent
#DE4994
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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