#8D52BC#8D52BC

#8D52BC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.165 H 307.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D52BC
RGBrgb(141, 82, 188)
HSLhsl(273, 44%, 53%)
HSVhsv(273, 56%, 74%)
CMYKcmyk(25%, 56.4%, 0%, 26.3%)
CIE-LABlab(46.08, 44.34, -46.55)
CIE-LCHlch(46.08, 64.29, 313.60°)
OKLaboklab(55.39% 0.1007 -0.131)
OKLCHoklch(55.39% 0.165 307.6)
XYZxyz(23.0771, 15.3284, 49.3102)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52BC #81BC52
analogous
#5852BC #8D52BC #BC52B6
triadic
#8D52BC #BC8D52 #52BC8D
tetradic
#8D52BC #BC5852 #81BC52 #52B6BC
square
#8D52BC #BC5852 #81BC52 #52B6BC
split-complementary
#8D52BC #B6BC52 #52BC58
monochromatic
#4D296A #6E3A97 #8D52BC #AA7ECD #C7AADE

Accessibility & contrast

On white

5.17
#8D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52BC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52BC#FFFFFF#000000##FFFFFF
##8D52BC1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#86667F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d52bc;
/* rgb */ color: rgb(141, 82, 188);
/* oklch */ color: oklch(55.4% 0.165 307.6);
Tailwind
colors: {
  custom: {
    50: '#b185d1',
    500: '#8d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d52bc;
$custom-light: #b185d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52bc",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 273.396,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.16523,
    "h": 307.6
  },
  "luminance": 0.15328
}

Semantic roles & 50–950 ramp

primary
#8D52BC
secondary
#B2CC9E
accent
#D4548D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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