#8A3B6E#8A3B6E

#8A3B6E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.5% C 0.124 H 343.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A3B6E
RGBrgb(138, 59, 110)
HSLhsl(321, 40%, 39%)
HSVhsv(321, 57%, 54%)
CMYKcmyk(0%, 57.2%, 20.3%, 45.9%)
CIE-LABlab(37.22, 39.95, -13.40)
CIE-LCHlch(37.22, 42.14, 341.45°)
OKLaboklab(47.5% 0.1192 -0.0357)
OKLCHoklch(47.5% 0.124 343.3)
XYZxyz(14.8600, 9.6582, 15.8304)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B6E #3B8A57
analogous
#7E3B8A #8A3B6E #8A3B46
triadic
#8A3B6E #6E8A3B #3B6E8A
tetradic
#8A3B6E #8A7E3B #3B8A57 #3B468A
square
#8A3B6E #8A7E3B #3B8A57 #3B468A
split-complementary
#8A3B6E #468A3B #3B8A7E
monochromatic
#34162A #5F294C #8A3B6E #B44F90 #C679AB

Accessibility & contrast

On white

7.16
#8A3B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3B6E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B6E#FFFFFF#000000##FFFFFF
##8A3B6E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F70
Deuteranopia (green-blind)
#575C6C
Tritanopia (blue-blind)
#923B4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3b6e;
/* rgb */ color: rgb(138, 59, 110);
/* oklch */ color: oklch(47.5% 0.124 343.3);
Tailwind
colors: {
  custom: {
    50: '#ae7597',
    500: '#8a3b6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b6e;
$custom-light: #ae7597;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b6e",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 110
  },
  "hsl": {
    "h": 321.266,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.12438,
    "h": 343.3
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#8A3B6E
secondary
#71AF87
accent
#D08258
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A3B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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