#8A2492#8A2492

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

Color values

HEX#8A2492
RGBrgb(138, 36, 146)
HSLhsl(296, 60%, 36%)
HSVhsv(296, 75%, 57%)
CMYKcmyk(5.5%, 75.3%, 0%, 42.7%)
CIE-LABlab(35.48, 55.89, -38.45)
CIE-LCHlch(35.48, 67.84, 325.47°)
OKLaboklab(46.82% 0.1518 -0.1071)
OKLCHoklch(46.82% 0.186 324.8)
XYZxyz(16.3000, 8.7414, 28.0173)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2492 #2C9224
analogous
#532492 #8A2492 #922463
triadic
#8A2492 #928A24 #24928A
tetradic
#8A2492 #925324 #2C9224 #246392
square
#8A2492 #925324 #2C9224 #246392
split-complementary
#8A2492 #639224 #249253
monochromatic
#2D0C30 #5C1861 #8A2492 #B830C3 #CD5AD6

Accessibility & contrast

On white

7.64
#8A2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2492
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2492#FFFFFF#000000##FFFFFF
##8A24921.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#3A588F
Tritanopia (blue-blind)
#8D3859
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2492;
/* rgb */ color: rgb(138, 36, 146);
/* oklch */ color: oklch(46.8% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8a2492',
    950: '#000000',
  },
}
SCSS
$custom: #8a2492;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2492",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 295.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.18579,
    "h": 324.8
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#8A2492
secondary
#5EBB57
accent
#E44450
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2492

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

Preview Lab → · Contrast checker → · Palette generator →

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