#8B52BB#8B52BB

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

Color values

HEX#8B52BB
RGBrgb(139, 82, 187)
HSLhsl(273, 44%, 53%)
HSVhsv(273, 56%, 73%)
CMYKcmyk(25.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(45.79, 43.59, -46.45)
CIE-LCHlch(45.79, 63.70, 313.18°)
OKLaboklab(55.11% 0.0981 -0.1307)
OKLCHoklch(55.11% 0.163 306.9)
XYZxyz(22.6325, 15.1116, 48.7286)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52BB #82BB52
analogous
#5652BB #8B52BB #BB52B7
triadic
#8B52BB #BB8B52 #52BB8B
tetradic
#8B52BB #BB5652 #82BB52 #52B7BB
square
#8B52BB #BB5652 #82BB52 #52B7BB
split-complementary
#8B52BB #B7BB52 #52BB56
monochromatic
#4C2969 #6C3B95 #8B52BB #A87ECC #C6AADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B52BB#FFFFFF#000000##FFFFFF
##8B52BB1.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)
#2D6ABE
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#83667F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b52bb;
/* rgb */ color: rgb(139, 82, 187);
/* oklch */ color: oklch(55.1% 0.163 306.9);
Tailwind
colors: {
  custom: {
    50: '#b085d0',
    500: '#8b52bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b52bb;
$custom-light: #b085d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52bb",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 272.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.16346,
    "h": 306.9
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#8B52BB
secondary
#B2CB9E
accent
#D3548E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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