#8A2292#8A2292

#8A2292 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.188 H 324.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8A2292
RGBrgb(138, 34, 146)
HSLhsl(296, 62%, 35%)
HSVhsv(296, 77%, 57%)
CMYKcmyk(5.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(35.25, 56.55, -38.82)
CIE-LCHlch(35.25, 68.60, 325.53°)
OKLaboklab(46.66% 0.1537 -0.1082)
OKLCHoklch(46.66% 0.188 324.9)
XYZxyz(16.2412, 8.6237, 27.9977)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2292 #2A9222
analogous
#522292 #8A2292 #922262
triadic
#8A2292 #928A22 #22928A
tetradic
#8A2292 #925222 #2A9222 #226292
square
#8A2292 #925222 #2A9222 #226292
split-complementary
#8A2292 #629222 #229252
monochromatic
#2C0B2F #5B1660 #8A2292 #B92EC4 #CF57D8

Accessibility & contrast

On white

7.71
#8A2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2292
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2292#FFFFFF#000000##FFFFFF
##8A22921.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#39578F
Tritanopia (blue-blind)
#8D3659
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2292;
/* rgb */ color: rgb(138, 34, 146);
/* oklch */ color: oklch(46.7% 0.188 324.9);
Tailwind
colors: {
  custom: {
    50: '#b069b2',
    500: '#8a2292',
    950: '#000000',
  },
}
SCSS
$custom: #8a2292;
$custom-light: #b069b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2292",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 295.714,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.18791,
    "h": 324.9
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#8A2292
secondary
#5BBC54
accent
#E5434E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2292

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

Preview Lab → · Contrast checker → · Palette generator →

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