#8B4FCC#8B4FCC

#8B4FCC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.188 H 302.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8B4FCC
RGBrgb(139, 79, 204)
HSLhsl(269, 55%, 55%)
HSVhsv(269, 61%, 80%)
CMYKcmyk(31.9%, 61.3%, 0%, 20%)
CIE-LABlab(46.23, 49.27, -55.58)
CIE-LCHlch(46.23, 74.28, 311.56°)
OKLaboklab(55.77% 0.1018 -0.1575)
OKLCHoklch(55.77% 0.188 302.9)
XYZxyz(24.3400, 15.4406, 58.8131)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FCC #90CC4F
analogous
#4F51CC #8B4FCC #C94FCC
triadic
#8B4FCC #CC8B4F #4FCC8B
tetradic
#8B4FCC #CC4F51 #90CC4F #4FCCC9
square
#8B4FCC #CC4F51 #90CC4F #4FCCC9
split-complementary
#8B4FCC #CCC94F #51CC4F
monochromatic
#4F247D #6C32AC #8B4FCC #AA7EDA #CAAEE7

Accessibility & contrast

On white

5.14
#8B4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8B4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FCC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FCC#FFFFFF#000000##FFFFFF
##8B4FCC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#7E6986
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4fcc;
/* rgb */ color: rgb(139, 79, 204);
/* oklch */ color: oklch(55.8% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#b183dc',
    500: '#8b4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fcc;
$custom-light: #b183dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fcc",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 268.8,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.18756,
    "h": 302.9
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#8B4FCC
secondary
#BCD5A1
accent
#DE4997
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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