#8B4CC2#8B4CC2

#8B4CC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.181 H 305.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B4CC2
RGBrgb(139, 76, 194)
HSLhsl(272, 49%, 53%)
HSVhsv(272, 61%, 76%)
CMYKcmyk(28.4%, 60.8%, 0%, 23.9%)
CIE-LABlab(45.02, 48.43, -51.76)
CIE-LCHlch(45.02, 70.88, 313.10°)
OKLaboklab(54.68% 0.1058 -0.1463)
OKLCHoklch(54.68% 0.181 305.9)
XYZxyz(22.9674, 14.5531, 52.6275)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CC2 #83C24C
analogous
#504CC2 #8B4CC2 #C24CBE
triadic
#8B4CC2 #C28B4C #4CC28B
tetradic
#8B4CC2 #C2504C #83C24C #4CBEC2
square
#8B4CC2 #C2504C #83C24C #4CBEC2
split-complementary
#8B4CC2 #BEC24C #4CC250
monochromatic
#4C266E #6C359C #8B4CC2 #A97AD2 #C6A7E1

Accessibility & contrast

On white

5.37
#8B4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8B4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CC2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CC2#FFFFFF#000000##FFFFFF
##8B4CC21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F69C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#826480
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b4cc2;
/* rgb */ color: rgb(139, 76, 194);
/* oklch */ color: oklch(54.7% 0.181 305.9);
Tailwind
colors: {
  custom: {
    50: '#b081d5',
    500: '#8b4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cc2;
$custom-light: #b081d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cc2",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 272.034,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.18051,
    "h": 305.9
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#8B4CC2
secondary
#B3CE9B
accent
#D94F8F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8B4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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