#8D52AF#8D52AF

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

Color values

HEX#8D52AF
RGBrgb(141, 82, 175)
HSLhsl(278, 37%, 50%)
HSVhsv(278, 53%, 69%)
CMYKcmyk(19.4%, 53.1%, 0%, 31.4%)
CIE-LABlab(45.35, 41.34, -40.11)
CIE-LCHlch(45.35, 57.60, 315.86°)
OKLaboklab(54.62% 0.0999 -0.1122)
OKLCHoklch(54.62% 0.15 311.7)
XYZxyz(21.7383, 14.7929, 42.2593)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52AF #74AF52
analogous
#5F52AF #8D52AF #AF52A2
triadic
#8D52AF #AF8D52 #52AF8D
tetradic
#8D52AF #AF5F52 #74AF52 #52A2AF
square
#8D52AF #AF5F52 #74AF52 #52A2AF
split-complementary
#8D52AF #A2AF52 #52AF5F
monochromatic
#4A2B5C #6C3E86 #8D52AF #A97CC2 #C4A6D6

Accessibility & contrast

On white

5.31
#8D52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52AF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52AF#FFFFFF#000000##FFFFFF
##8D52AF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#4C6DAD
Tritanopia (blue-blind)
#896279
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d52af;
/* rgb */ color: rgb(141, 82, 175);
/* oklch */ color: oklch(54.6% 0.150 311.7);
Tailwind
colors: {
  custom: {
    50: '#b085c7',
    500: '#8d52af',
    950: '#000000',
  },
}
SCSS
$custom: #8d52af;
$custom-light: #b085c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52af",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 278.065,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.15023,
    "h": 311.7
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#8D52AF
secondary
#A9C39A
accent
#CD5B85
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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