#8B4CCE#8B4CCE

#8B4CCE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.194 H 302.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8B4CCE
RGBrgb(139, 76, 206)
HSLhsl(269, 57%, 55%)
HSVhsv(269, 63%, 81%)
CMYKcmyk(32.5%, 63.1%, 0%, 19.2%)
CIE-LABlab(45.79, 51.31, -57.45)
CIE-LCHlch(45.79, 77.02, 311.77°)
OKLaboklab(55.49% 0.1052 -0.163)
OKLCHoklch(55.49% 0.194 302.8)
XYZxyz(24.3699, 15.1141, 60.0140)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CCE #8FCE4C
analogous
#4C4ECE #8B4CCE #CC4CCE
triadic
#8B4CCE #CE8B4C #4CCE8B
tetradic
#8B4CCE #CE4C4E #8FCE4C #4CCECC
square
#8B4CCE #CE4C4E #8FCE4C #4CCECC
split-complementary
#8B4CCE #CECC4C #4ECE4C
monochromatic
#4E227D #6C2FAD #8B4CCE #AA7CDB #C9ACE8

Accessibility & contrast

On white

5.22
#8B4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8B4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CCE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CCE#FFFFFF#000000##FFFFFF
##8B4CCE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#7E6886
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4cce;
/* rgb */ color: rgb(139, 76, 206);
/* oklch */ color: oklch(55.5% 0.194 302.8);
Tailwind
colors: {
  custom: {
    50: '#b181de',
    500: '#8b4cce',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cce;
$custom-light: #b181de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cce",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 269.077,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.19399,
    "h": 302.8
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#8B4CCE
secondary
#BCD6A0
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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