#8B52BC#8B52BC

#8B52BC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.165 H 306.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8B52BC
RGBrgb(139, 82, 188)
HSLhsl(272, 44%, 53%)
HSVhsv(272, 56%, 74%)
CMYKcmyk(26.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(45.85, 43.83, -46.94)
CIE-LCHlch(45.85, 64.22, 313.03°)
OKLaboklab(55.17% 0.0982 -0.1322)
OKLCHoklch(55.17% 0.165 306.6)
XYZxyz(22.7400, 15.1546, 49.2944)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52BC #83BC52
analogous
#5652BC #8B52BC #BC52B8
triadic
#8B52BC #BC8B52 #52BC8B
tetradic
#8B52BC #BC5652 #83BC52 #52B8BC
square
#8B52BC #BC5652 #83BC52 #52B8BC
split-complementary
#8B52BC #B8BC52 #52BC56
monochromatic
#4C296A #6C3A97 #8B52BC #A97ECD #C6AADE

Accessibility & contrast

On white

5.21
#8B52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8B52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52BC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52BC#FFFFFF#000000##FFFFFF
##8B52BC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BBF
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#83667F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b52bc;
/* rgb */ color: rgb(139, 82, 188);
/* oklch */ color: oklch(55.2% 0.165 306.6);
Tailwind
colors: {
  custom: {
    50: '#b085d1',
    500: '#8b52bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b52bc;
$custom-light: #b085d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52bc",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 272.264,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.16464,
    "h": 306.6
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#8B52BC
secondary
#B3CC9E
accent
#D4548F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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