#8A2289#8A2289

#8A2289 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.181 H 328.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2289
RGBrgb(138, 34, 137)
HSLhsl(301, 60%, 34%)
HSVhsv(301, 75%, 54%)
CMYKcmyk(0%, 75.4%, 0.7%, 45.9%)
CIE-LABlab(34.71, 54.99, -34.14)
CIE-LCHlch(34.71, 64.73, 328.17°)
OKLaboklab(46.1% 0.1539 -0.0945)
OKLCHoklch(46.1% 0.181 328.4)
XYZxyz(15.5684, 8.3546, 24.4547)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2289 #228A23
analogous
#57228A #8A2289 #8A2255
triadic
#8A2289 #898A22 #22898A
tetradic
#8A2289 #8A5722 #228A23 #22558A
square
#8A2289 #8A5722 #228A23 #22558A
split-complementary
#8A2289 #558A22 #228A57
monochromatic
#280A28 #591658 #8A2289 #BB2EBA #D452D3

Accessibility & contrast

On white

7.86
#8A2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2289
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2289#FFFFFF#000000##FFFFFF
##8A22891.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E498C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#8F3254
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2289;
/* rgb */ color: rgb(138, 34, 137);
/* oklch */ color: oklch(46.1% 0.181 328.4);
Tailwind
colors: {
  custom: {
    50: '#b069ac',
    500: '#8a2289',
    950: '#000000',
  },
}
SCSS
$custom: #8a2289;
$custom-light: #b069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2289",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 300.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46101,
    "c": 0.18064,
    "h": 328.4
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#8A2289
secondary
#50B851
accent
#E44644
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2289

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

Preview Lab → · Contrast checker → · Palette generator →

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