#8A288A#8A288A

#8A288A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.175 H 327.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A288A
RGBrgb(138, 40, 138)
HSLhsl(300, 55%, 35%)
HSVhsv(300, 71%, 54%)
CMYKcmyk(0%, 71%, 0%, 45.9%)
CIE-LABlab(35.51, 53.05, -33.48)
CIE-LCHlch(35.51, 62.73, 327.74°)
OKLaboklab(46.69% 0.1479 -0.0927)
OKLCHoklch(46.69% 0.175 327.9)
XYZxyz(15.8273, 8.7570, 24.8965)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A288A #288A28
analogous
#59288A #8A288A #8A2859
triadic
#8A288A #8A8A28 #288A8A
tetradic
#8A288A #8A5928 #288A28 #28598A
square
#8A288A #8A5928 #288A28 #28598A
split-complementary
#8A288A #598A28 #288A59
monochromatic
#2B0C2B #5B1A5B #8A288A #B936B9 #D05DD0

Accessibility & contrast

On white

7.63
#8A288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A288A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A288A#FFFFFF#000000##FFFFFF
##8A288A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#8E3656
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a288a;
/* rgb */ color: rgb(138, 40, 138);
/* oklch */ color: oklch(46.7% 0.175 327.9);
Tailwind
colors: {
  custom: {
    50: '#af6cac',
    500: '#8a288a',
    950: '#000000',
  },
}
SCSS
$custom: #8a288a;
$custom-light: #af6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a288a",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46694,
    "c": 0.17457,
    "h": 327.9
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#8A288A
secondary
#59B559
accent
#DE4949
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A288A

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

Preview Lab → · Contrast checker → · Palette generator →

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