#8B52BE#8B52BE

#8B52BE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.167 H 306.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8B52BE
RGBrgb(139, 82, 190)
HSLhsl(272, 45%, 53%)
HSVhsv(272, 57%, 75%)
CMYKcmyk(26.8%, 56.8%, 0%, 25.5%)
CIE-LABlab(45.96, 44.30, -47.92)
CIE-LCHlch(45.96, 65.26, 312.76°)
OKLaboklab(55.29% 0.0982 -0.135)
OKLCHoklch(55.29% 0.167 306)
XYZxyz(22.9571, 15.2415, 50.4377)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52BE #85BE52
analogous
#5552BE #8B52BE #BE52BB
triadic
#8B52BE #BE8B52 #52BE8B
tetradic
#8B52BE #BE5552 #85BE52 #52BBBE
square
#8B52BE #BE5552 #85BE52 #52BBBE
split-complementary
#8B52BE #BBBE52 #52BE55
monochromatic
#4D296D #6C3A99 #8B52BE #A97ECF #C7ABDF

Accessibility & contrast

On white

5.19
#8B52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8B52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52BE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52BE#FFFFFF#000000##FFFFFF
##8B52BE1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#836780
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b52be;
/* rgb */ color: rgb(139, 82, 190);
/* oklch */ color: oklch(55.3% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#b085d2',
    500: '#8b52be',
    950: '#000000',
  },
}
SCSS
$custom: #8b52be;
$custom-light: #b085d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52be",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 271.667,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.16697,
    "h": 306
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#8B52BE
secondary
#B5CD9F
accent
#D55390
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8B52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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