#8A3E7C#8A3E7C

#8A3E7C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.6% C 0.130 H 335.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A3E7C
RGBrgb(138, 62, 124)
HSLhsl(311, 38%, 39%)
HSVhsv(311, 55%, 54%)
CMYKcmyk(0%, 55.1%, 10.1%, 45.9%)
CIE-LABlab(38.38, 40.75, -20.34)
CIE-LCHlch(38.38, 45.54, 333.48°)
OKLaboklab(48.56% 0.118 -0.0551)
OKLCHoklch(48.56% 0.13 335)
XYZxyz(15.8420, 10.3049, 20.2195)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E7C #3E8A4C
analogous
#723E8A #8A3E7C #8A3E56
triadic
#8A3E7C #7C8A3E #3E7C8A
tetradic
#8A3E7C #8A723E #3E8A4C #3E568A
square
#8A3E7C #8A723E #3E8A4C #3E568A
split-complementary
#8A3E7C #568A3E #3E8A72
monochromatic
#361830 #602B56 #8A3E7C #B253A0 #C57EB8

Accessibility & contrast

On white

6.86
#8A3E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A3E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E7C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E7C#FFFFFF#000000##FFFFFF
##8A3E7C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#904257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3e7c;
/* rgb */ color: rgb(138, 62, 124);
/* oklch */ color: oklch(48.6% 0.130 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae77a2',
    500: '#8a3e7c',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e7c;
$custom-light: #ae77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e7c",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 311.053,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.13024,
    "h": 335
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#8A3E7C
secondary
#75AF80
accent
#CE6F5A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090F
muted
#807B7E

Preview Lab

Preview with #8A3E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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