#8A2E88#8A2E88

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

Color values

HEX#8A2E88
RGBrgb(138, 46, 136)
HSLhsl(301, 50%, 36%)
HSVhsv(301, 67%, 54%)
CMYKcmyk(0%, 66.7%, 1.4%, 45.9%)
CIE-LABlab(36.24, 50.32, -31.09)
CIE-LCHlch(36.24, 59.15, 328.29°)
OKLaboklab(47.19% 0.1411 -0.0858)
OKLCHoklch(47.19% 0.165 328.7)
XYZxyz(15.9020, 9.1359, 24.2136)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E88 #2E8A30
analogous
#5E2E8A #8A2E88 #8A2E5A
triadic
#8A2E88 #888A2E #2E888A
tetradic
#8A2E88 #8A5E2E #2E8A30 #2E5A8A
square
#8A2E88 #8A5E2E #2E8A30 #2E5A8A
split-complementary
#8A2E88 #5A8A2E #2E8A5E
monochromatic
#2E0F2E #5C1F5B #8A2E88 #B83DB5 #CC66CA

Accessibility & contrast

On white

7.43
#8A2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E88
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E88#FFFFFF#000000##FFFFFF
##8A2E881.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#8F3A57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2e88;
/* rgb */ color: rgb(138, 46, 136);
/* oklch */ color: oklch(47.2% 0.165 328.7);
Tailwind
colors: {
  custom: {
    50: '#af6eab',
    500: '#8a2e88',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e88;
$custom-light: #af6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e88",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 301.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.16516,
    "h": 328.7
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#8A2E88
secondary
#61B363
accent
#DA514E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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