#8B52DC#8B52DC

#8B52DC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.202 H 298.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8B52DC
RGBrgb(139, 82, 220)
HSLhsl(265, 66%, 59%)
HSVhsv(265, 63%, 86%)
CMYKcmyk(36.8%, 62.7%, 0%, 13.7%)
CIE-LABlab(47.87, 51.68, -62.10)
CIE-LCHlch(47.87, 80.79, 309.77°)
OKLaboklab(57.29% 0.0974 -0.1767)
OKLCHoklch(57.29% 0.202 298.9)
XYZxyz(26.5798, 16.6906, 69.5175)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52DC #A3DC52
analogous
#525EDC #8B52DC #D052DC
triadic
#8B52DC #DC8B52 #52DC8B
tetradic
#8B52DC #DC525E #A3DC52 #52DCD0
square
#8B52DC #DC525E #A3DC52 #52DCD0
split-complementary
#8B52DC #DCD052 #5EDC52
monochromatic
#4F1E95 #6B29C8 #8B52DC #AD85E6 #CFB8F1

Accessibility & contrast

On white

4.84
#8B52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8B52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52DC#FFFFFF#000000##FFFFFF
##8B52DC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0E70D9
Tritanopia (blue-blind)
#797190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b52dc;
/* rgb */ color: rgb(139, 82, 220);
/* oklch */ color: oklch(57.3% 0.202 298.9);
Tailwind
colors: {
  custom: {
    50: '#b286e8',
    500: '#8b52dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b52dc;
$custom-light: #b286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52dc",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 264.783,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.20175,
    "h": 298.9
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#8B52DC
secondary
#CAE0AA
accent
#E93FA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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