#8A2293#8A2293

#8A2293 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.189 H 324.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2293
RGBrgb(138, 34, 147)
HSLhsl(295, 62%, 35%)
HSVhsv(295, 77%, 58%)
CMYKcmyk(6.1%, 76.9%, 0%, 42.4%)
CIE-LABlab(35.31, 56.73, -39.33)
CIE-LCHlch(35.31, 69.03, 325.27°)
OKLaboklab(46.72% 0.1536 -0.1097)
OKLCHoklch(46.72% 0.189 324.5)
XYZxyz(16.3193, 8.6550, 28.4091)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2293 #2B9322
analogous
#512293 #8A2293 #932263
triadic
#8A2293 #938A22 #22938A
tetradic
#8A2293 #935122 #2B9322 #226393
square
#8A2293 #935122 #2B9322 #226393
split-complementary
#8A2293 #639322 #229351
monochromatic
#2D0B30 #5B1761 #8A2293 #B92DC5 #CE57D8

Accessibility & contrast

On white

7.69
#8A2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2293
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2293#FFFFFF#000000##FFFFFF
##8A22931.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#8D3759
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2293;
/* rgb */ color: rgb(138, 34, 147);
/* oklch */ color: oklch(46.7% 0.189 324.5);
Tailwind
colors: {
  custom: {
    50: '#b069b3',
    500: '#8a2293',
    950: '#000000',
  },
}
SCSS
$custom: #8a2293;
$custom-light: #b069b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2293",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 295.221,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46722,
    "c": 0.18873,
    "h": 324.5
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#8A2293
secondary
#5DBC55
accent
#E5424F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2293

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

Preview Lab → · Contrast checker → · Palette generator →

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