#8A2288#8A2288

#8A2288 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.180 H 328.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2288
RGBrgb(138, 34, 136)
HSLhsl(301, 60%, 34%)
HSVhsv(301, 75%, 54%)
CMYKcmyk(0%, 75.4%, 1.4%, 45.9%)
CIE-LABlab(34.65, 54.82, -33.61)
CIE-LCHlch(34.65, 64.31, 328.49°)
OKLaboklab(46.04% 0.1539 -0.093)
OKLCHoklch(46.04% 0.18 328.9)
XYZxyz(15.4971, 8.3261, 24.0787)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2288 #228A24
analogous
#58228A #8A2288 #8A2254
triadic
#8A2288 #888A22 #22888A
tetradic
#8A2288 #8A5822 #228A24 #22548A
square
#8A2288 #8A5822 #228A24 #22548A
split-complementary
#8A2288 #548A22 #228A58
monochromatic
#280A27 #591658 #8A2288 #BB2EB8 #D452D2

Accessibility & contrast

On white

7.88
#8A2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2288
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2288#FFFFFF#000000##FFFFFF
##8A22881.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#8F3153
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2288;
/* rgb */ color: rgb(138, 34, 136);
/* oklch */ color: oklch(46.0% 0.180 328.9);
Tailwind
colors: {
  custom: {
    50: '#b069ab',
    500: '#8a2288',
    950: '#000000',
  },
}
SCSS
$custom: #8a2288;
$custom-light: #b069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2288",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 301.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.17985,
    "h": 328.9
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#8A2288
secondary
#50B852
accent
#E44744
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2288

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

Preview Lab → · Contrast checker → · Palette generator →

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