#8A3E6A#8A3E6A

#8A3E6A is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.8% C 0.117 H 346.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A3E6A
RGBrgb(138, 62, 106)
HSLhsl(325, 38%, 39%)
HSVhsv(325, 55%, 54%)
CMYKcmyk(0%, 55.1%, 23.2%, 45.9%)
CIE-LABlab(37.65, 37.80, -10.25)
CIE-LCHlch(37.65, 39.17, 344.82°)
OKLaboklab(47.77% 0.1134 -0.027)
OKLCHoklch(47.77% 0.117 346.6)
XYZxyz(14.8058, 9.8904, 14.7621)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E6A #3E8A5E
analogous
#843E8A #8A3E6A #8A3E44
triadic
#8A3E6A #6A8A3E #3E6A8A
tetradic
#8A3E6A #8A843E #3E8A5E #3E448A
square
#8A3E6A #8A843E #3E8A5E #3E448A
split-complementary
#8A3E6A #448A3E #3E8A84
monochromatic
#361829 #602B4A #8A3E6A #B2538A #C57EA7

Accessibility & contrast

On white

7.05
#8A3E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A3E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3E6A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E6A#FFFFFF#000000##FFFFFF
##8A3E6A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516B
Deuteranopia (green-blind)
#5A5D68
Tritanopia (blue-blind)
#933D4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3e6a;
/* rgb */ color: rgb(138, 62, 106);
/* oklch */ color: oklch(47.8% 0.117 346.6);
Tailwind
colors: {
  custom: {
    50: '#ae7694',
    500: '#8a3e6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e6a;
$custom-light: #ae7694;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e6a",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 106
  },
  "hsl": {
    "h": 325.263,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.11657,
    "h": 346.6
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#8A3E6A
secondary
#75AF8D
accent
#CE8B5A
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A3E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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