#8D52D7#8D52D7

#8D52D7 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.196 H 300.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D52D7
RGBrgb(141, 82, 215)
HSLhsl(267, 62%, 58%)
HSVhsv(267, 62%, 84%)
CMYKcmyk(34.4%, 61.9%, 0%, 15.7%)
CIE-LABlab(47.76, 50.86, -59.42)
CIE-LCHlch(47.76, 78.21, 310.56°)
OKLaboklab(57.15% 0.1004 -0.1687)
OKLCHoklch(57.15% 0.196 300.8)
XYZxyz(26.2646, 16.6034, 66.0979)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D7 #9CD752
analogous
#5259D7 #8D52D7 #D052D7
triadic
#8D52D7 #D78D52 #52D78D
tetradic
#8D52D7 #D75259 #9CD752 #52D7D0
square
#8D52D7 #D75259 #9CD752 #52D7D0
split-complementary
#8D52D7 #D7D052 #59D752
monochromatic
#51218E #6E2CC0 #8D52D7 #AE84E2 #CFB5EE

Accessibility & contrast

On white

4.86
#8D52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8D52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D7#FFFFFF#000000##FFFFFF
##8D52D71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2170D4
Tritanopia (blue-blind)
#7D6F8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d52d7;
/* rgb */ color: rgb(141, 82, 215);
/* oklch */ color: oklch(57.2% 0.196 300.8);
Tailwind
colors: {
  custom: {
    50: '#b386e4',
    500: '#8d52d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d7;
$custom-light: #b386e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d7",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 266.617,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.19634,
    "h": 300.8
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#8D52D7
secondary
#C5DDA8
accent
#E6429D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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