#8D52D9#8D52D9

#8D52D9 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.199 H 300.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D52D9
RGBrgb(141, 82, 217)
HSLhsl(266, 64%, 59%)
HSVhsv(266, 62%, 85%)
CMYKcmyk(35%, 62.2%, 0%, 14.9%)
CIE-LABlab(47.89, 51.36, -60.35)
CIE-LCHlch(47.89, 79.24, 310.40°)
OKLaboklab(57.29% 0.1003 -0.1715)
OKLCHoklch(57.29% 0.199 300.3)
XYZxyz(26.5231, 16.7069, 67.4596)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D9 #9ED952
analogous
#525AD9 #8D52D9 #D052D9
triadic
#8D52D9 #D98D52 #52D98D
tetradic
#8D52D9 #D9525A #9ED952 #52D9D0
square
#8D52D9 #D9525A #9ED952 #52D9D0
split-complementary
#8D52D9 #D9D052 #5AD952
monochromatic
#512091 #6D2BC3 #8D52D9 #AE84E4 #CFB6EF

Accessibility & contrast

On white

4.84
#8D52D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8D52D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D9#FFFFFF#000000##FFFFFF
##8D52D91.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#1D71D6
Tritanopia (blue-blind)
#7D6F8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d52d9;
/* rgb */ color: rgb(141, 82, 217);
/* oklch */ color: oklch(57.3% 0.199 300.3);
Tailwind
colors: {
  custom: {
    50: '#b386e5',
    500: '#8d52d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d9;
$custom-light: #b386e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d9",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 266.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5729,
    "c": 0.19863,
    "h": 300.3
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#8D52D9
secondary
#C7DEA9
accent
#E7419E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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