#8A457D#8A457D

#8A457D is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.6% C 0.119 H 334.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A457D
RGBrgb(138, 69, 125)
HSLhsl(311, 33%, 41%)
HSVhsv(311, 50%, 54%)
CMYKcmyk(0%, 50%, 9.4%, 45.9%)
CIE-LABlab(39.82, 37.26, -18.74)
CIE-LCHlch(39.82, 41.71, 333.30°)
OKLaboklab(49.64% 0.1076 -0.0507)
OKLCHoklch(49.64% 0.119 334.8)
XYZxyz(16.3110, 11.1412, 20.6894)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A457D #458A52
analogous
#74458A #8A457D #8A455B
triadic
#8A457D #7D8A45 #457D8A
tetradic
#8A457D #8A7445 #458A52 #455B8A
square
#8A457D #8A7445 #458A52 #455B8A
split-complementary
#8A457D #5B8A45 #458A74
monochromatic
#381C33 #613158 #8A457D #AE5E9F #C387B7

Accessibility & contrast

On white

6.51
#8A457D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A457D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A457D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A457D#FFFFFF#000000##FFFFFF
##8A457D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577F
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#90495B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a457d;
/* rgb */ color: rgb(138, 69, 125);
/* oklch */ color: oklch(49.6% 0.119 334.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ba2',
    500: '#8a457d',
    950: '#000000',
  },
}
SCSS
$custom: #8a457d;
$custom-light: #ae7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a457d",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 311.304,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49636,
    "c": 0.11891,
    "h": 334.8
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#8A457D
secondary
#7DAE86
accent
#C9735E
background
#FAF7FA
surface
#F5EEF3
border
#CFC9CD
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A457D

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

Preview Lab → · Contrast checker → · Palette generator →

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