#8D52AE#8D52AE

#8D52AE is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.149 H 312.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8D52AE
RGBrgb(141, 82, 174)
HSLhsl(278, 36%, 50%)
HSVhsv(278, 53%, 68%)
CMYKcmyk(19%, 52.9%, 0%, 31.8%)
CIE-LABlab(45.30, 41.11, -39.61)
CIE-LCHlch(45.30, 57.09, 316.06°)
OKLaboklab(54.56% 0.0999 -0.1107)
OKLCHoklch(54.56% 0.149 312)
XYZxyz(21.6404, 14.7538, 41.7440)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52AE #73AE52
analogous
#5F52AE #8D52AE #AE52A1
triadic
#8D52AE #AE8D52 #52AE8D
tetradic
#8D52AE #AE5F52 #73AE52 #52A1AE
square
#8D52AE #AE5F52 #73AE52 #52A1AE
split-complementary
#8D52AE #A1AE52 #52AE5F
monochromatic
#4A2B5B #6B3E85 #8D52AE #A87CC2 #C4A5D5

Accessibility & contrast

On white

5.32
#8D52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8D52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52AE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52AE#FFFFFF#000000##FFFFFF
##8D52AE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#4D6CAC
Tritanopia (blue-blind)
#8A6178
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d52ae;
/* rgb */ color: rgb(141, 82, 174);
/* oklch */ color: oklch(54.6% 0.149 312.0);
Tailwind
colors: {
  custom: {
    50: '#b085c6',
    500: '#8d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d52ae;
$custom-light: #b085c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52ae",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 278.478,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.14909,
    "h": 312
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#8D52AE
secondary
#A8C299
accent
#CC5C84
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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