#8B4CC7#8B4CC7

#8B4CC7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.186 H 304.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B4CC7
RGBrgb(139, 76, 199)
HSLhsl(271, 52%, 54%)
HSVhsv(271, 62%, 78%)
CMYKcmyk(30.2%, 61.8%, 0%, 22%)
CIE-LABlab(45.33, 49.62, -54.14)
CIE-LCHlch(45.33, 73.44, 312.50°)
OKLaboklab(55.01% 0.1056 -0.1533)
OKLCHoklch(55.01% 0.186 304.6)
XYZxyz(23.5384, 14.7815, 55.6348)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CC7 #88C74C
analogous
#4E4CC7 #8B4CC7 #C74CC5
triadic
#8B4CC7 #C78B4C #4CC78B
tetradic
#8B4CC7 #C74E4C #88C74C #4CC5C7
square
#8B4CC7 #C74E4C #88C74C #4CC5C7
split-complementary
#8B4CC7 #C5C74C #4CC74E
monochromatic
#4D2474 #6C33A3 #8B4CC7 #A97BD6 #C7A9E4

Accessibility & contrast

On white

5.31
#8B4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8B4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CC7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CC7#FFFFFF#000000##FFFFFF
##8B4CC71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#2E6BC4
Tritanopia (blue-blind)
#806582
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4cc7;
/* rgb */ color: rgb(139, 76, 199);
/* oklch */ color: oklch(55.0% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#b181d9',
    500: '#8b4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cc7;
$custom-light: #b181d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cc7",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 270.732,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.18614,
    "h": 304.6
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#8B4CC7
secondary
#B7D29D
accent
#DC4C92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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