#8B52CE#8B52CE

#8B52CE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.186 H 301.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B52CE
RGBrgb(139, 82, 206)
HSLhsl(268, 56%, 56%)
HSVhsv(268, 60%, 81%)
CMYKcmyk(32.5%, 60.2%, 0%, 19.2%)
CIE-LABlab(46.95, 48.19, -55.58)
CIE-LCHlch(46.95, 73.56, 310.92°)
OKLaboklab(56.33% 0.0982 -0.1575)
OKLCHoklch(56.33% 0.186 301.9)
XYZxyz(24.8027, 15.9797, 60.1583)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52CE #95CE52
analogous
#5257CE #8B52CE #C952CE
triadic
#8B52CE #CE8B52 #52CE8B
tetradic
#8B52CE #CE5257 #95CE52 #52CEC9
square
#8B52CE #CE5257 #95CE52 #52CEC9
split-complementary
#8B52CE #CEC952 #57CE52
monochromatic
#4F2581 #6C32B1 #8B52CE #AB82DC #CBB1E9

Accessibility & contrast

On white

5.00
#8B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8B52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52CE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52CE#FFFFFF#000000##FFFFFF
##8B52CE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED2
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#7E6C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b52ce;
/* rgb */ color: rgb(139, 82, 206);
/* oklch */ color: oklch(56.3% 0.186 301.9);
Tailwind
colors: {
  custom: {
    50: '#b185de',
    500: '#8b52ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b52ce;
$custom-light: #b185de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52ce",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 267.581,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.1856,
    "h": 301.9
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#8B52CE
secondary
#C0D7A4
accent
#DF499A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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