#8D52DD#8D52DD

#8D52DD is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.203 H 299.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D52DD
RGBrgb(141, 82, 221)
HSLhsl(265, 67%, 59%)
HSVhsv(265, 63%, 87%)
CMYKcmyk(36.2%, 62.9%, 0%, 13.3%)
CIE-LABlab(48.16, 52.35, -62.19)
CIE-LCHlch(48.16, 81.29, 310.09°)
OKLaboklab(57.57% 0.1 -0.1769)
OKLCHoklch(57.57% 0.203 299.5)
XYZxyz(27.0497, 16.9175, 70.2329)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52DD #A2DD52
analogous
#525CDD #8D52DD #D352DD
triadic
#8D52DD #DD8D52 #52DD8D
tetradic
#8D52DD #DD525C #A2DD52 #52DDD3
square
#8D52DD #DD525C #A2DD52 #52DDD3
split-complementary
#8D52DD #DDD352 #5CDD52
monochromatic
#511E97 #6D28CA #8D52DD #AF85E7 #D0B8F1

Accessibility & contrast

On white

4.79
#8D52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8D52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52DD#FFFFFF#000000##FFFFFF
##8D52DD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#1171DA
Tritanopia (blue-blind)
#7B7190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d52dd;
/* rgb */ color: rgb(141, 82, 221);
/* oklch */ color: oklch(57.6% 0.203 299.5);
Tailwind
colors: {
  custom: {
    50: '#b386e8',
    500: '#8d52dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d52dd;
$custom-light: #b386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52dd",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 265.468,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.20319,
    "h": 299.5
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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