#8A2494#8A2494

#8A2494 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.187 H 324.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8A2494
RGBrgb(138, 36, 148)
HSLhsl(295, 61%, 36%)
HSVhsv(295, 76%, 58%)
CMYKcmyk(6.8%, 75.7%, 0%, 42%)
CIE-LABlab(35.60, 56.25, -39.47)
CIE-LCHlch(35.60, 68.72, 324.94°)
OKLaboklab(46.95% 0.1517 -0.1101)
OKLCHoklch(46.95% 0.187 324)
XYZxyz(16.4569, 8.8042, 28.8438)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2494 #2E9424
analogous
#522494 #8A2494 #942466
triadic
#8A2494 #948A24 #24948A
tetradic
#8A2494 #945224 #2E9424 #246694
square
#8A2494 #945224 #2E9424 #246694
split-complementary
#8A2494 #669424 #249452
monochromatic
#2E0C32 #5C1863 #8A2494 #B830C5 #CC5BD7

Accessibility & contrast

On white

7.61
#8A2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2494
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2494#FFFFFF#000000##FFFFFF
##8A24941.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#8D385A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2494;
/* rgb */ color: rgb(138, 36, 148);
/* oklch */ color: oklch(47.0% 0.187 324.0);
Tailwind
colors: {
  custom: {
    50: '#b06ab4',
    500: '#8a2494',
    950: '#000000',
  },
}
SCSS
$custom: #8a2494;
$custom-light: #b06ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2494",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 294.643,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.18745,
    "h": 324
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#8A2494
secondary
#61BC58
accent
#E44452
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2494

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

Preview Lab → · Contrast checker → · Palette generator →

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