#8B52DD#8B52DD

#8B52DD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.203 H 298.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8B52DD
RGBrgb(139, 82, 221)
HSLhsl(265, 67%, 59%)
HSVhsv(265, 63%, 87%)
CMYKcmyk(37.1%, 62.9%, 0%, 13.3%)
CIE-LABlab(47.94, 51.93, -62.56)
CIE-LCHlch(47.94, 81.30, 309.70°)
OKLaboklab(57.36% 0.0974 -0.178)
OKLCHoklch(57.36% 0.203 298.7)
XYZxyz(26.7126, 16.7437, 70.2171)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52DD #A4DD52
analogous
#525FDD #8B52DD #D052DD
triadic
#8B52DD #DD8B52 #52DD8B
tetradic
#8B52DD #DD525F #A4DD52 #52DDD0
square
#8B52DD #DD525F #A4DD52 #52DDD0
split-complementary
#8B52DD #DDD052 #5FDD52
monochromatic
#4F1E97 #6A28CA #8B52DD #AD85E7 #D0B8F1

Accessibility & contrast

On white

4.83
#8B52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8B52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52DD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52DD#FFFFFF#000000##FFFFFF
##8B52DD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0970DA
Tritanopia (blue-blind)
#787190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b52dd;
/* rgb */ color: rgb(139, 82, 221);
/* oklch */ color: oklch(57.4% 0.203 298.7);
Tailwind
colors: {
  custom: {
    50: '#b286e8',
    500: '#8b52dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b52dd;
$custom-light: #b286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52dd",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 264.604,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.2029,
    "h": 298.7
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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