#8D52CA#8D52CA

#8D52CA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.181 H 303.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8D52CA
RGBrgb(141, 82, 202)
HSLhsl(270, 53%, 56%)
HSVhsv(270, 59%, 79%)
CMYKcmyk(30.2%, 59.4%, 0%, 20.8%)
CIE-LABlab(46.92, 47.68, -53.31)
CIE-LCHlch(46.92, 71.52, 311.81°)
OKLaboklab(56.28% 0.1009 -0.1508)
OKLCHoklch(56.28% 0.181 303.8)
XYZxyz(24.6601, 15.9616, 57.6474)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52CA #8FCA52
analogous
#5253CA #8D52CA #C952CA
triadic
#8D52CA #CA8D52 #52CA8D
tetradic
#8D52CA #CA5253 #8FCA52 #52CAC9
square
#8D52CA #CA5253 #8FCA52 #52CAC9
split-complementary
#8D52CA #CAC952 #53CA52
monochromatic
#50267C #6E34AB #8D52CA #AC81D8 #CBB0E7

Accessibility & contrast

On white

5.01
#8D52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8D52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52CA#FFFFFF#000000##FFFFFF
##8D52CA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#826A86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d52ca;
/* rgb */ color: rgb(141, 82, 202);
/* oklch */ color: oklch(56.3% 0.181 303.8);
Tailwind
colors: {
  custom: {
    50: '#b285db',
    500: '#8d52ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d52ca;
$custom-light: #b285db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52ca",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 269.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.1814,
    "h": 303.8
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#8D52CA
secondary
#BCD5A3
accent
#DD4B95
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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