#8D52CC#8D52CC

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

Color values

HEX#8D52CC
RGBrgb(141, 82, 204)
HSLhsl(269, 54%, 56%)
HSVhsv(269, 60%, 80%)
CMYKcmyk(30.9%, 59.8%, 0%, 20%)
CIE-LABlab(47.05, 48.16, -54.26)
CIE-LCHlch(47.05, 72.55, 311.59°)
OKLaboklab(56.41% 0.1008 -0.1536)
OKLCHoklch(56.41% 0.184 303.3)
XYZxyz(24.8984, 16.0570, 58.9026)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52CC #91CC52
analogous
#5254CC #8D52CC #CA52CC
triadic
#8D52CC #CC8D52 #52CC8D
tetradic
#8D52CC #CC5254 #91CC52 #52CCCA
square
#8D52CC #CC5254 #91CC52 #52CCCA
split-complementary
#8D52CC #CCCA52 #54CC52
monochromatic
#50257E #6E33AE #8D52CC #AC81DA #CBB1E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D52CC#FFFFFF#000000##FFFFFF
##8D52CC1.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)
#116ED0
Deuteranopia (green-blind)
#336FC9
Tritanopia (blue-blind)
#816B87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d52cc;
/* rgb */ color: rgb(141, 82, 204);
/* oklch */ color: oklch(56.4% 0.184 303.3);
Tailwind
colors: {
  custom: {
    50: '#b285dc',
    500: '#8d52cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d52cc;
$custom-light: #b285dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52cc",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 269.016,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.18371,
    "h": 303.3
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#8D52CC
secondary
#BED6A4
accent
#DE4A96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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