#8A3E7D#8A3E7D

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

Color values

HEX#8A3E7D
RGBrgb(138, 62, 125)
HSLhsl(310, 38%, 39%)
HSVhsv(310, 55%, 54%)
CMYKcmyk(0%, 55.1%, 9.4%, 45.9%)
CIE-LABlab(38.43, 40.93, -20.89)
CIE-LCHlch(38.43, 45.95, 332.96°)
OKLaboklab(48.61% 0.1182 -0.0567)
OKLCHoklch(48.61% 0.131 334.4)
XYZxyz(15.9056, 10.3303, 20.5543)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E7D #3E8A4B
analogous
#713E8A #8A3E7D #8A3E57
triadic
#8A3E7D #7D8A3E #3E7D8A
tetradic
#8A3E7D #8A713E #3E8A4B #3E578A
square
#8A3E7D #8A713E #3E8A4B #3E578A
split-complementary
#8A3E7D #578A3E #3E8A71
monochromatic
#361831 #602B57 #8A3E7D #B253A2 #C57EB9

Accessibility & contrast

On white

6.85
#8A3E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E7D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E7D#FFFFFF#000000##FFFFFF
##8A3E7D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#904258
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3e7d;
/* rgb */ color: rgb(138, 62, 125);
/* oklch */ color: oklch(48.6% 0.131 334.4);
Tailwind
colors: {
  custom: {
    50: '#ae77a3',
    500: '#8a3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e7d;
$custom-light: #ae77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e7d",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 310.263,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48606,
    "c": 0.1311,
    "h": 334.4
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#8A3E7D
secondary
#75AF7F
accent
#CE6E5A
background
#FAF7FA
surface
#F5EDF3
border
#CFC8CD
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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