#8A457B#8A457B

#8A457B is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.5% C 0.117 H 336.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A457B
RGBrgb(138, 69, 123)
HSLhsl(313, 33%, 41%)
HSVhsv(313, 50%, 54%)
CMYKcmyk(0%, 50%, 10.9%, 45.9%)
CIE-LABlab(39.73, 36.91, -17.64)
CIE-LCHlch(39.73, 40.91, 334.45°)
OKLaboklab(49.55% 0.1071 -0.0476)
OKLCHoklch(49.55% 0.117 336)
XYZxyz(16.1846, 11.0907, 20.0233)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A457B #458A54
analogous
#76458A #8A457B #8A4559
triadic
#8A457B #7B8A45 #457B8A
tetradic
#8A457B #8A7645 #458A54 #45598A
square
#8A457B #8A7645 #458A54 #45598A
split-complementary
#8A457B #598A45 #458A76
monochromatic
#381C32 #613157 #8A457B #AE5E9D #C387B6

Accessibility & contrast

On white

6.53
#8A457B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A457B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A457B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A457B#FFFFFF#000000##FFFFFF
##8A457B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#596179
Tritanopia (blue-blind)
#90485A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a457b;
/* rgb */ color: rgb(138, 69, 123);
/* oklch */ color: oklch(49.5% 0.117 336.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ba1',
    500: '#8a457b',
    950: '#000000',
  },
}
SCSS
$custom: #8a457b;
$custom-light: #ae7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a457b",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 123
  },
  "hsl": {
    "h": 313.043,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.11718,
    "h": 336
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#8A457B
secondary
#7DAE87
accent
#C9765E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090F
muted
#7F7B7E

Preview Lab

Preview with #8A457B

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

Preview Lab → · Contrast checker → · Palette generator →

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