#8D52C8#8D52C8

#8D52C8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.179 H 304.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D52C8
RGBrgb(141, 82, 200)
HSLhsl(270, 52%, 55%)
HSVhsv(270, 59%, 78%)
CMYKcmyk(29.5%, 59%, 0%, 21.6%)
CIE-LABlab(46.80, 47.19, -52.35)
CIE-LCHlch(46.80, 70.48, 312.03°)
OKLaboklab(56.15% 0.1009 -0.148)
OKLCHoklch(56.15% 0.179 304.3)
XYZxyz(24.4248, 15.8675, 56.4084)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52C8 #8DC852
analogous
#5252C8 #8D52C8 #C852C8
triadic
#8D52C8 #C88D52 #52C88D
tetradic
#8D52C8 #C85252 #8DC852 #52C8C8
square
#8D52C8 #C85252 #8DC852 #52C8C8
split-complementary
#8D52C8 #C8C852 #52C852
monochromatic
#502779 #6E35A8 #8D52C8 #AC80D7 #CAAFE6

Accessibility & contrast

On white

5.03
#8D52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52C8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52C8#FFFFFF#000000##FFFFFF
##8D52C81.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#826A85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d52c8;
/* rgb */ color: rgb(141, 82, 200);
/* oklch */ color: oklch(56.2% 0.179 304.3);
Tailwind
colors: {
  custom: {
    50: '#b285d9',
    500: '#8d52c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d52c8;
$custom-light: #b285d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52c8",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.1791,
    "h": 304.3
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#8D52C8
secondary
#BBD4A2
accent
#DB4D94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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