#8A2889#8A2889

#8A2889 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.174 H 328.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2889
RGBrgb(138, 40, 137)
HSLhsl(301, 55%, 35%)
HSVhsv(301, 71%, 54%)
CMYKcmyk(0%, 71%, 0.7%, 45.9%)
CIE-LABlab(35.46, 52.87, -32.96)
CIE-LCHlch(35.46, 62.30, 328.06°)
OKLaboklab(46.64% 0.1479 -0.0912)
OKLCHoklch(46.64% 0.174 328.4)
XYZxyz(15.7552, 8.7281, 24.5169)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2889 #288A29
analogous
#5A288A #8A2889 #8A2858
triadic
#8A2889 #898A28 #28898A
tetradic
#8A2889 #8A5A28 #288A29 #28588A
square
#8A2889 #8A5A28 #288A29 #28588A
split-complementary
#8A2889 #588A28 #288A5A
monochromatic
#2B0C2B #5B1A5A #8A2889 #B936B8 #D05DCF

Accessibility & contrast

On white

7.65
#8A2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A2889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2889
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2889#FFFFFF#000000##FFFFFF
##8A28891.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#8F3655
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2889;
/* rgb */ color: rgb(138, 40, 137);
/* oklch */ color: oklch(46.6% 0.174 328.4);
Tailwind
colors: {
  custom: {
    50: '#af6cac',
    500: '#8a2889',
    950: '#000000',
  },
}
SCSS
$custom: #8a2889;
$custom-light: #af6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2889",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 300.612,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.17375,
    "h": 328.4
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#8A2889
secondary
#59B55A
accent
#DE4B49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2889

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

Preview Lab → · Contrast checker → · Palette generator →

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