#8B52DA#8B52DA

#8B52DA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.199 H 299.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B52DA
RGBrgb(139, 82, 218)
HSLhsl(265, 65%, 59%)
HSVhsv(265, 62%, 85%)
CMYKcmyk(36.2%, 62.4%, 0%, 14.5%)
CIE-LABlab(47.73, 51.18, -61.18)
CIE-LCHlch(47.73, 79.76, 309.91°)
OKLaboklab(57.15% 0.0976 -0.174)
OKLCHoklch(57.15% 0.199 299.3)
XYZxyz(26.3165, 16.5852, 68.1309)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52DA #A1DA52
analogous
#525DDA #8B52DA #CF52DA
triadic
#8B52DA #DA8B52 #52DA8B
tetradic
#8B52DA #DA525D #A1DA52 #52DACF
square
#8B52DA #DA525D #A1DA52 #52DACF
split-complementary
#8B52DA #DACF52 #5DDA52
monochromatic
#4F1F92 #6B2AC5 #8B52DA #AD84E5 #CFB7F0

Accessibility & contrast

On white

4.86
#8B52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8B52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52DA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52DA#FFFFFF#000000##FFFFFF
##8B52DA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#1570D7
Tritanopia (blue-blind)
#79708F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b52da;
/* rgb */ color: rgb(139, 82, 218);
/* oklch */ color: oklch(57.1% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#b285e6',
    500: '#8b52da',
    950: '#000000',
  },
}
SCSS
$custom: #8b52da;
$custom-light: #b285e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52da",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 265.147,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.19946,
    "h": 299.3
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#8B52DA
secondary
#C8DFA9
accent
#E840A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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