#8A2885#8A2885

#8A2885 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.170 H 330.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8A2885
RGBrgb(138, 40, 133)
HSLhsl(303, 55%, 35%)
HSVhsv(303, 71%, 54%)
CMYKcmyk(0%, 71%, 3.6%, 45.9%)
CIE-LABlab(35.23, 52.18, -30.84)
CIE-LCHlch(35.23, 60.61, 329.42°)
OKLaboklab(46.4% 0.1478 -0.085)
OKLCHoklch(46.4% 0.17 330.1)
XYZxyz(15.4736, 8.6155, 23.0337)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2885 #288A2D
analogous
#5E288A #8A2885 #8A2854
triadic
#8A2885 #858A28 #28858A
tetradic
#8A2885 #8A5E28 #288A2D #28548A
square
#8A2885 #8A5E28 #288A2D #28548A
split-complementary
#8A2885 #548A28 #288A5E
monochromatic
#2B0C2A #5B1A57 #8A2885 #B936B3 #D05DCA

Accessibility & contrast

On white

7.71
#8A2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2885
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2885#FFFFFF#000000##FFFFFF
##8A28851.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A88
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#8F3453
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2885;
/* rgb */ color: rgb(138, 40, 133);
/* oklch */ color: oklch(46.4% 0.170 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ba9',
    500: '#8a2885',
    950: '#000000',
  },
}
SCSS
$custom: #8a2885;
$custom-light: #af6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2885",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 303.061,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.17048,
    "h": 330.1
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#8A2885
secondary
#59B55D
accent
#DE5149
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2885

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

Preview Lab → · Contrast checker → · Palette generator →

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