#8B52DB#8B52DB

#8B52DB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.201 H 299.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B52DB
RGBrgb(139, 82, 219)
HSLhsl(265, 66%, 59%)
HSVhsv(265, 63%, 86%)
CMYKcmyk(36.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(47.80, 51.43, -61.64)
CIE-LCHlch(47.80, 80.28, 309.84°)
OKLaboklab(57.22% 0.0975 -0.1753)
OKLCHoklch(57.22% 0.201 299.1)
XYZxyz(26.4478, 16.6377, 68.8221)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52DB #A2DB52
analogous
#525EDB #8B52DB #D052DB
triadic
#8B52DB #DB8B52 #52DB8B
tetradic
#8B52DB #DB525E #A2DB52 #52DBD0
square
#8B52DB #DB525E #A2DB52 #52DBD0
split-complementary
#8B52DB #DBD052 #5EDB52
monochromatic
#4F1F94 #6B29C6 #8B52DB #AD85E6 #CFB7F0

Accessibility & contrast

On white

4.85
#8B52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8B52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52DB#FFFFFF#000000##FFFFFF
##8B52DB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#1270D8
Tritanopia (blue-blind)
#79708F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b52db;
/* rgb */ color: rgb(139, 82, 219);
/* oklch */ color: oklch(57.2% 0.201 299.1);
Tailwind
colors: {
  custom: {
    50: '#b285e7',
    500: '#8b52db',
    950: '#000000',
  },
}
SCSS
$custom: #8b52db;
$custom-light: #b285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52db",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 264.964,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.2006,
    "h": 299.1
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#8B52DB
secondary
#C9DFAA
accent
#E93FA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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