#8D2AC7#8D2AC7

#8D2AC7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.5% C 0.227 H 308.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D2AC7
RGBrgb(141, 42, 199)
HSLhsl(278, 65%, 47%)
HSVhsv(278, 79%, 78%)
CMYKcmyk(29.1%, 78.9%, 0%, 22%)
CIE-LABlab(40.32, 64.81, -62.25)
CIE-LCHlch(40.32, 89.86, 316.15°)
OKLaboklab(51.49% 0.1425 -0.1768)
OKLCHoklch(51.49% 0.227 308.9)
XYZxyz(22.1192, 11.4426, 55.0652)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AC7 #64C72A
analogous
#3E2AC7 #8D2AC7 #C72AB3
triadic
#8D2AC7 #C78D2A #2AC78D
tetradic
#8D2AC7 #C73E2A #64C72A #2AB3C7
square
#8D2AC7 #C73E2A #64C72A #2AB3C7
split-complementary
#8D2AC7 #B3C72A #2AC73E
monochromatic
#451562 #691F94 #8D2AC7 #A953DB #C286E5

Accessibility & contrast

On white

6.39
#8D2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D2AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AC7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AC7#FFFFFF#000000##FFFFFF
##8D2AC71.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#845279
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2ac7;
/* rgb */ color: rgb(141, 42, 199);
/* oklch */ color: oklch(51.5% 0.227 308.9);
Tailwind
colors: {
  custom: {
    50: '#b470d9',
    500: '#8d2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ac7;
$custom-light: #b470d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ac7",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 277.834,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.22711,
    "h": 308.9
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#8D2AC7
secondary
#9CCF7E
accent
#E8407E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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