#8D52CD#8D52CD

#8D52CD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.185 H 303.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D52CD
RGBrgb(141, 82, 205)
HSLhsl(269, 55%, 56%)
HSVhsv(269, 60%, 80%)
CMYKcmyk(31.2%, 60%, 0%, 19.6%)
CIE-LABlab(47.11, 48.40, -54.73)
CIE-LCHlch(47.11, 73.06, 311.49°)
OKLaboklab(56.48% 0.1008 -0.155)
OKLCHoklch(56.48% 0.185 303)
XYZxyz(25.0187, 16.1051, 59.5363)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52CD #92CD52
analogous
#5255CD #8D52CD #CA52CD
triadic
#8D52CD #CD8D52 #52CD8D
tetradic
#8D52CD #CD5255 #92CD52 #52CDCA
square
#8D52CD #CD5255 #92CD52 #52CDCA
split-complementary
#8D52CD #CDCA52 #55CD52
monochromatic
#502580 #6E33AF #8D52CD #AC81DB #CCB1E8

Accessibility & contrast

On white

4.98
#8D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8D52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52CD#FFFFFF#000000##FFFFFF
##8D52CD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6ED1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#816B88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d52cd;
/* rgb */ color: rgb(141, 82, 205);
/* oklch */ color: oklch(56.5% 0.185 303.0);
Tailwind
colors: {
  custom: {
    50: '#b285dd',
    500: '#8d52cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d52cd;
$custom-light: #b285dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52cd",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 268.78,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.18486,
    "h": 303
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#8D52CD
secondary
#BED7A4
accent
#DE4997
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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