#8B52CA#8B52CA

#8B52CA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.181 H 302.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B52CA
RGBrgb(139, 82, 202)
HSLhsl(269, 53%, 56%)
HSVhsv(269, 59%, 79%)
CMYKcmyk(31.2%, 59.4%, 0%, 20.8%)
CIE-LABlab(46.69, 47.20, -53.69)
CIE-LCHlch(46.69, 71.49, 311.32°)
OKLaboklab(56.06% 0.0983 -0.152)
OKLCHoklch(56.06% 0.181 302.9)
XYZxyz(24.3230, 15.7878, 57.6316)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52CA #91CA52
analogous
#5255CA #8B52CA #C752CA
triadic
#8B52CA #CA8B52 #52CA8B
tetradic
#8B52CA #CA5255 #91CA52 #52CAC7
square
#8B52CA #CA5255 #91CA52 #52CAC7
split-complementary
#8B52CA #CAC752 #55CA52
monochromatic
#4F267C #6C34AB #8B52CA #AA81D8 #CAB0E7

Accessibility & contrast

On white

5.05
#8B52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8B52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52CA#FFFFFF#000000##FFFFFF
##8B52CA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#7F6A86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b52ca;
/* rgb */ color: rgb(139, 82, 202);
/* oklch */ color: oklch(56.1% 0.181 302.9);
Tailwind
colors: {
  custom: {
    50: '#b185db',
    500: '#8b52ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b52ca;
$custom-light: #b185db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52ca",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 268.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.18096,
    "h": 302.9
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#8B52CA
secondary
#BDD5A3
accent
#DD4B98
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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