#8B52CF#8B52CF

#8B52CF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.187 H 301.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B52CF
RGBrgb(139, 82, 207)
HSLhsl(267, 57%, 57%)
HSVhsv(267, 60%, 81%)
CMYKcmyk(32.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(47.01, 48.43, -56.05)
CIE-LCHlch(47.01, 74.08, 310.83°)
OKLaboklab(56.4% 0.0981 -0.1589)
OKLCHoklch(56.4% 0.187 301.7)
XYZxyz(24.9246, 16.0285, 60.8001)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52CF #96CF52
analogous
#5258CF #8B52CF #CA52CF
triadic
#8B52CF #CF8B52 #52CF8B
tetradic
#8B52CF #CF5258 #96CF52 #52CFCA
square
#8B52CF #CF5258 #96CF52 #52CFCA
split-complementary
#8B52CF #CFCA52 #58CF52
monochromatic
#4F2482 #6C31B2 #8B52CF #AB82DC #CBB2EA

Accessibility & contrast

On white

4.99
#8B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8B52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52CF#FFFFFF#000000##FFFFFF
##8B52CF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#7D6C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b52cf;
/* rgb */ color: rgb(139, 82, 207);
/* oklch */ color: oklch(56.4% 0.187 301.7);
Tailwind
colors: {
  custom: {
    50: '#b185de',
    500: '#8b52cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b52cf;
$custom-light: #b185de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52cf",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 267.36,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.18676,
    "h": 301.7
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#8B52CF
secondary
#C1D8A5
accent
#E0489B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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