#8D52DC#8D52DC

#8D52DC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.202 H 299.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D52DC
RGBrgb(141, 82, 220)
HSLhsl(266, 66%, 59%)
HSVhsv(266, 63%, 86%)
CMYKcmyk(35.9%, 62.7%, 0%, 13.7%)
CIE-LABlab(48.09, 52.10, -61.73)
CIE-LCHlch(48.09, 80.78, 310.16°)
OKLaboklab(57.5% 0.1001 -0.1755)
OKLCHoklch(57.5% 0.202 299.7)
XYZxyz(26.9169, 16.8644, 69.5333)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52DC #A1DC52
analogous
#525CDC #8D52DC #D252DC
triadic
#8D52DC #DC8D52 #52DC8D
tetradic
#8D52DC #DC525C #A1DC52 #52DCD2
square
#8D52DC #DC525C #A1DC52 #52DCD2
split-complementary
#8D52DC #DCD252 #5CDC52
monochromatic
#511E95 #6D29C8 #8D52DC #AF85E6 #D0B8F1

Accessibility & contrast

On white

4.80
#8D52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52DC#FFFFFF#000000##FFFFFF
##8D52DC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1571D9
Tritanopia (blue-blind)
#7C7090
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d52dc;
/* rgb */ color: rgb(141, 82, 220);
/* oklch */ color: oklch(57.5% 0.202 299.7);
Tailwind
colors: {
  custom: {
    50: '#b386e8',
    500: '#8d52dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d52dc;
$custom-light: #b386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52dc",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 265.652,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.20205,
    "h": 299.7
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#8D52DC
secondary
#C9E0AA
accent
#E93FA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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