#8A2392#8A2392

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

Color values

HEX#8A2392
RGBrgb(138, 35, 146)
HSLhsl(296, 61%, 35%)
HSVhsv(296, 76%, 57%)
CMYKcmyk(5.5%, 76%, 0%, 42.7%)
CIE-LABlab(35.36, 56.23, -38.64)
CIE-LCHlch(35.36, 68.22, 325.51°)
OKLaboklab(46.74% 0.1528 -0.1076)
OKLCHoklch(46.74% 0.187 324.8)
XYZxyz(16.2702, 8.6817, 28.0073)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2392 #2B9223
analogous
#532392 #8A2392 #922362
triadic
#8A2392 #928A23 #23928A
tetradic
#8A2392 #925323 #2B9223 #236292
square
#8A2392 #925323 #2B9223 #236292
split-complementary
#8A2392 #629223 #239253
monochromatic
#2D0B2F #5B1761 #8A2392 #B92FC3 #CE58D7

Accessibility & contrast

On white

7.67
#8A2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2392
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2392#FFFFFF#000000##FFFFFF
##8A23921.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3A578F
Tritanopia (blue-blind)
#8D3759
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2392;
/* rgb */ color: rgb(138, 35, 146);
/* oklch */ color: oklch(46.7% 0.187 324.8);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8a2392',
    950: '#000000',
  },
}
SCSS
$custom: #8a2392;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2392",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 295.676,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.18687,
    "h": 324.8
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#8A2392
secondary
#5DBB55
accent
#E4434F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2392

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

Preview Lab → · Contrast checker → · Palette generator →

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