#8A2888#8A2888

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

Color values

HEX#8A2888
RGBrgb(138, 40, 136)
HSLhsl(301, 55%, 35%)
HSVhsv(301, 71%, 54%)
CMYKcmyk(0%, 71%, 1.4%, 45.9%)
CIE-LABlab(35.40, 52.70, -32.43)
CIE-LCHlch(35.40, 61.88, 328.39°)
OKLaboklab(46.58% 0.1479 -0.0896)
OKLCHoklch(46.58% 0.173 328.8)
XYZxyz(15.6838, 8.6996, 24.1409)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2888 #288A2A
analogous
#5B288A #8A2888 #8A2857
triadic
#8A2888 #888A28 #28888A
tetradic
#8A2888 #8A5B28 #288A2A #28578A
square
#8A2888 #8A5B28 #288A2A #28578A
split-complementary
#8A2888 #578A28 #288A5B
monochromatic
#2B0C2A #5B1A59 #8A2888 #B936B7 #D05DCE

Accessibility & contrast

On white

7.67
#8A2888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2888
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2888#FFFFFF#000000##FFFFFF
##8A28881.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#8F3555
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2888;
/* rgb */ color: rgb(138, 40, 136);
/* oklch */ color: oklch(46.6% 0.173 328.8);
Tailwind
colors: {
  custom: {
    50: '#af6cab',
    500: '#8a2888',
    950: '#000000',
  },
}
SCSS
$custom: #8a2888;
$custom-light: #af6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2888",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 301.224,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.17293,
    "h": 328.8
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#8A2888
secondary
#59B55B
accent
#DE4C49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2888

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

Preview Lab → · Contrast checker → · Palette generator →

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