#8D52BA#8D52BA

#8D52BA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.163 H 308.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D52BA
RGBrgb(141, 82, 186)
HSLhsl(274, 43%, 53%)
HSVhsv(274, 56%, 73%)
CMYKcmyk(24.2%, 55.9%, 0%, 27.1%)
CIE-LABlab(45.97, 43.87, -45.57)
CIE-LCHlch(45.97, 63.25, 313.91°)
OKLaboklab(55.27% 0.1007 -0.1281)
OKLCHoklch(55.27% 0.163 308.2)
XYZxyz(22.8630, 15.2428, 48.1826)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52BA #7FBA52
analogous
#5952BA #8D52BA #BA52B3
triadic
#8D52BA #BA8D52 #52BA8D
tetradic
#8D52BA #BA5952 #7FBA52 #52B3BA
square
#8D52BA #BA5952 #7FBA52 #52B3BA
split-complementary
#8D52BA #B3BA52 #52BA59
monochromatic
#4D2A68 #6D3B94 #8D52BA #AA7ECB #C7AADD

Accessibility & contrast

On white

5.19
#8D52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8D52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52BA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52BA#FFFFFF#000000##FFFFFF
##8D52BA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#446EB7
Tritanopia (blue-blind)
#86657E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d52ba;
/* rgb */ color: rgb(141, 82, 186);
/* oklch */ color: oklch(55.3% 0.163 308.2);
Tailwind
colors: {
  custom: {
    50: '#b185cf',
    500: '#8d52ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d52ba;
$custom-light: #b185cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52ba",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 274.038,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.16292,
    "h": 308.2
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#8D52BA
secondary
#B1CA9D
accent
#D3558B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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