#8D52BB#8D52BB

#8D52BB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.164 H 307.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D52BB
RGBrgb(141, 82, 187)
HSLhsl(274, 44%, 53%)
HSVhsv(274, 56%, 73%)
CMYKcmyk(24.6%, 56.1%, 0%, 26.7%)
CIE-LABlab(46.02, 44.10, -46.06)
CIE-LCHlch(46.02, 63.77, 313.75°)
OKLaboklab(55.33% 0.1007 -0.1295)
OKLCHoklch(55.33% 0.164 307.9)
XYZxyz(22.9696, 15.2855, 48.7444)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52BB #80BB52
analogous
#5852BB #8D52BB #BB52B4
triadic
#8D52BB #BB8D52 #52BB8D
tetradic
#8D52BB #BB5852 #80BB52 #52B4BB
square
#8D52BB #BB5852 #80BB52 #52B4BB
split-complementary
#8D52BB #B4BB52 #52BB58
monochromatic
#4D2969 #6E3B95 #8D52BB #AA7ECC #C7AADE

Accessibility & contrast

On white

5.18
#8D52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52BB#FFFFFF#000000##FFFFFF
##8D52BB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#86657F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d52bb;
/* rgb */ color: rgb(141, 82, 187);
/* oklch */ color: oklch(55.3% 0.164 307.9);
Tailwind
colors: {
  custom: {
    50: '#b185d0',
    500: '#8d52bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d52bb;
$custom-light: #b185d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52bb",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 273.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.16407,
    "h": 307.9
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#8D52BB
secondary
#B2CB9E
accent
#D3548C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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