#8A2D88#8A2D88

#8A2D88 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.167 H 328.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8A2D88
RGBrgb(138, 45, 136)
HSLhsl(301, 51%, 36%)
HSVhsv(301, 67%, 54%)
CMYKcmyk(0%, 67.4%, 1.4%, 45.9%)
CIE-LABlab(36.10, 50.73, -31.33)
CIE-LCHlch(36.10, 59.63, 328.31°)
OKLaboklab(47.08% 0.1423 -0.0865)
OKLCHoklch(47.08% 0.167 328.7)
XYZxyz(15.8634, 9.0587, 24.2008)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D88 #2D8A2F
analogous
#5D2D8A #8A2D88 #8A2D59
triadic
#8A2D88 #888A2D #2D888A
tetradic
#8A2D88 #8A5D2D #2D8A2F #2D598A
square
#8A2D88 #8A5D2D #2D8A2F #2D598A
split-complementary
#8A2D88 #598A2D #2D8A5D
monochromatic
#2E0F2D #5C1E5B #8A2D88 #B83CB5 #CD65CA

Accessibility & contrast

On white

7.47
#8A2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D88
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D88#FFFFFF#000000##FFFFFF
##8A2D881.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#455986
Tritanopia (blue-blind)
#8F3956
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2d88;
/* rgb */ color: rgb(138, 45, 136);
/* oklch */ color: oklch(47.1% 0.167 328.7);
Tailwind
colors: {
  custom: {
    50: '#af6eab',
    500: '#8a2d88',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d88;
$custom-light: #af6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d88",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 301.29,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.16651,
    "h": 328.7
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#8A2D88
secondary
#60B361
accent
#DA514D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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