#8A2E75#8A2E75

#8A2E75 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.150 H 338.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A2E75
RGBrgb(138, 46, 117)
HSLhsl(314, 50%, 36%)
HSVhsv(314, 67%, 54%)
CMYKcmyk(0%, 66.7%, 15.2%, 45.9%)
CIE-LABlab(35.29, 47.13, -20.77)
CIE-LCHlch(35.29, 51.51, 336.22°)
OKLaboklab(46.18% 0.1389 -0.0562)
OKLCHoklch(46.18% 0.15 338)
XYZxyz(14.6694, 8.6429, 17.7218)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E75 #2E8A43
analogous
#712E8A #8A2E75 #8A2E47
triadic
#8A2E75 #758A2E #2E758A
tetradic
#8A2E75 #8A712E #2E8A43 #2E478A
square
#8A2E75 #8A712E #2E8A43 #2E478A
split-complementary
#8A2E75 #478A2E #2E8A71
monochromatic
#2E0F27 #5C1F4E #8A2E75 #B83D9C #CC66B5

Accessibility & contrast

On white

7.70
#8A2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E75
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E75#FFFFFF#000000##FFFFFF
##8A2E751.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A77
Deuteranopia (green-blind)
#4E5873
Tritanopia (blue-blind)
#91324D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2e75;
/* rgb */ color: rgb(138, 46, 117);
/* oklch */ color: oklch(46.2% 0.150 338.0);
Tailwind
colors: {
  custom: {
    50: '#af6e9d',
    500: '#8a2e75',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e75;
$custom-light: #af6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e75",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 313.696,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.14987,
    "h": 338
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#8A2E75
secondary
#61B374
accent
#DA6E4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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