#8A2489#8A2489

#8A2489 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.178 H 328.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A2489
RGBrgb(138, 36, 137)
HSLhsl(301, 59%, 34%)
HSVhsv(301, 74%, 54%)
CMYKcmyk(0%, 73.9%, 0.7%, 45.9%)
CIE-LABlab(34.95, 54.31, -33.76)
CIE-LCHlch(34.95, 63.95, 328.13°)
OKLaboklab(46.27% 0.152 -0.0935)
OKLCHoklch(46.27% 0.178 328.4)
XYZxyz(15.6273, 8.4723, 24.4743)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2489 #248A25
analogous
#58248A #8A2489 #8A2456
triadic
#8A2489 #898A24 #24898A
tetradic
#8A2489 #8A5824 #248A25 #24568A
square
#8A2489 #8A5824 #248A25 #24568A
split-complementary
#8A2489 #568A24 #248A58
monochromatic
#290B29 #591759 #8A2489 #BB31B9 #D356D2

Accessibility & contrast

On white

7.79
#8A2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2489
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2489#FFFFFF#000000##FFFFFF
##8A24891.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#8F3354
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2489;
/* rgb */ color: rgb(138, 36, 137);
/* oklch */ color: oklch(46.3% 0.178 328.4);
Tailwind
colors: {
  custom: {
    50: '#b06aac',
    500: '#8a2489',
    950: '#000000',
  },
}
SCSS
$custom: #8a2489;
$custom-light: #b06aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2489",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 300.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.17844,
    "h": 328.4
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#8A2489
secondary
#53B754
accent
#E24846
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2489

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

Preview Lab → · Contrast checker → · Palette generator →

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