#8A2E89#8A2E89

#8A2E89 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.166 H 328.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A2E89
RGBrgb(138, 46, 137)
HSLhsl(301, 50%, 36%)
HSVhsv(301, 67%, 54%)
CMYKcmyk(0%, 66.7%, 0.7%, 45.9%)
CIE-LABlab(36.30, 50.50, -31.62)
CIE-LCHlch(36.30, 59.58, 327.94°)
OKLaboklab(47.24% 0.1412 -0.0873)
OKLCHoklch(47.24% 0.166 328.3)
XYZxyz(15.9734, 9.1645, 24.5897)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E89 #2E8A2F
analogous
#5D2E8A #8A2E89 #8A2E5B
triadic
#8A2E89 #898A2E #2E898A
tetradic
#8A2E89 #8A5D2E #2E8A2F #2E5B8A
square
#8A2E89 #8A5D2E #2E8A2F #2E5B8A
split-complementary
#8A2E89 #5B8A2E #2E8A5D
monochromatic
#2E0F2E #5C1F5B #8A2E89 #B83DB7 #CC66CB

Accessibility & contrast

On white

7.41
#8A2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E89
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E89#FFFFFF#000000##FFFFFF
##8A2E891.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#8E3A57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2e89;
/* rgb */ color: rgb(138, 46, 137);
/* oklch */ color: oklch(47.2% 0.166 328.3);
Tailwind
colors: {
  custom: {
    50: '#af6eac',
    500: '#8a2e89',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e89;
$custom-light: #af6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e89",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 300.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47243,
    "c": 0.16601,
    "h": 328.3
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#8A2E89
secondary
#61B362
accent
#DA504E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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