#8D52BE#8D52BE

#8D52BE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.168 H 307.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D52BE
RGBrgb(141, 82, 190)
HSLhsl(273, 45%, 53%)
HSVhsv(273, 57%, 75%)
CMYKcmyk(25.8%, 56.8%, 0%, 25.5%)
CIE-LABlab(46.20, 44.81, -47.53)
CIE-LCHlch(46.20, 65.32, 313.31°)
OKLaboklab(55.52% 0.1008 -0.1338)
OKLCHoklch(55.52% 0.168 307)
XYZxyz(23.2941, 15.4153, 50.4535)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52BE #83BE52
analogous
#5752BE #8D52BE #BE52B9
triadic
#8D52BE #BE8D52 #52BE8D
tetradic
#8D52BE #BE5752 #83BE52 #52B9BE
square
#8D52BE #BE5752 #83BE52 #52B9BE
split-complementary
#8D52BE #B9BE52 #52BE57
monochromatic
#4E296D #6E3A99 #8D52BE #AA7ECF #C8ABDF

Accessibility & contrast

On white

5.14
#8D52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8D52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52BE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52BE#FFFFFF#000000##FFFFFF
##8D52BE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#416EBB
Tritanopia (blue-blind)
#856680
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d52be;
/* rgb */ color: rgb(141, 82, 190);
/* oklch */ color: oklch(55.5% 0.168 307.0);
Tailwind
colors: {
  custom: {
    50: '#b185d2',
    500: '#8d52be',
    950: '#000000',
  },
}
SCSS
$custom: #8d52be;
$custom-light: #b185d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52be",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 272.778,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55516,
    "c": 0.16754,
    "h": 307
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#8D52BE
secondary
#B4CD9F
accent
#D5538E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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