#8A2D89#8A2D89

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

Color values

HEX#8A2D89
RGBrgb(138, 45, 137)
HSLhsl(301, 51%, 36%)
HSVhsv(301, 67%, 54%)
CMYKcmyk(0%, 67.4%, 0.7%, 45.9%)
CIE-LABlab(36.15, 50.91, -31.86)
CIE-LCHlch(36.15, 60.05, 327.96°)
OKLaboklab(47.14% 0.1424 -0.088)
OKLCHoklch(47.14% 0.167 328.3)
XYZxyz(15.9348, 9.0873, 24.5768)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D89 #2D8A2E
analogous
#5C2D8A #8A2D89 #8A2D5A
triadic
#8A2D89 #898A2D #2D898A
tetradic
#8A2D89 #8A5C2D #2D8A2E #2D5A8A
square
#8A2D89 #8A5C2D #2D8A2E #2D5A8A
split-complementary
#8A2D89 #5A8A2D #2D8A5C
monochromatic
#2E0F2D #5C1E5B #8A2D89 #B83CB7 #CD65CC

Accessibility & contrast

On white

7.45
#8A2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D89
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D89#FFFFFF#000000##FFFFFF
##8A2D891.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#455987
Tritanopia (blue-blind)
#8E3957
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2d89;
/* rgb */ color: rgb(138, 45, 137);
/* oklch */ color: oklch(47.1% 0.167 328.3);
Tailwind
colors: {
  custom: {
    50: '#af6eac',
    500: '#8a2d89',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d89;
$custom-light: #af6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d89",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 300.645,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.16736,
    "h": 328.3
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#8A2D89
secondary
#60B360
accent
#DA4F4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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