#8C52DD#8C52DD

#8C52DD is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.203 H 299.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8C52DD
RGBrgb(140, 82, 221)
HSLhsl(265, 67%, 59%)
HSVhsv(265, 63%, 87%)
CMYKcmyk(36.7%, 62.9%, 0%, 13.3%)
CIE-LABlab(48.05, 52.14, -62.38)
CIE-LCHlch(48.05, 81.30, 309.89°)
OKLaboklab(57.46% 0.0987 -0.1774)
OKLCHoklch(57.46% 0.203 299.1)
XYZxyz(26.8804, 16.8302, 70.2250)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C52DD #A3DD52
analogous
#525EDD #8C52DD #D252DD
triadic
#8C52DD #DD8C52 #52DD8C
tetradic
#8C52DD #DD525E #A3DD52 #52DDD2
square
#8C52DD #DD525E #A3DD52 #52DDD2
split-complementary
#8C52DD #DDD252 #5EDD52
monochromatic
#501E97 #6B28CA #8C52DD #AE85E7 #D0B8F1

Accessibility & contrast

On white

4.81
#8C52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C52DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C52DD#FFFFFF#000000##FFFFFF
##8C52DD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0D71DA
Tritanopia (blue-blind)
#7A7190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8c52dd;
/* rgb */ color: rgb(140, 82, 221);
/* oklch */ color: oklch(57.5% 0.203 299.1);
Tailwind
colors: {
  custom: {
    50: '#b386e8',
    500: '#8c52dd',
    950: '#000000',
  },
}
SCSS
$custom: #8c52dd;
$custom-light: #b386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c52dd",
  "rgb": {
    "r": 140,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 265.036,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.20304,
    "h": 299.1
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#8C52DD
secondary
#CAE0AA
accent
#EA3EA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8C52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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