#8A2491#8A2491

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

Color values

HEX#8A2491
RGBrgb(138, 36, 145)
HSLhsl(296, 60%, 35%)
HSVhsv(296, 75%, 57%)
CMYKcmyk(4.8%, 75.2%, 0%, 43.1%)
CIE-LABlab(35.42, 55.71, -37.93)
CIE-LCHlch(35.42, 67.40, 325.75°)
OKLaboklab(46.76% 0.1519 -0.1056)
OKLCHoklch(46.76% 0.185 325.2)
XYZxyz(16.2226, 8.7104, 27.6094)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2491 #2B9124
analogous
#532491 #8A2491 #912461
triadic
#8A2491 #918A24 #24918A
tetradic
#8A2491 #915324 #2B9124 #246191
square
#8A2491 #915324 #2B9124 #246191
split-complementary
#8A2491 #619124 #249153
monochromatic
#2D0C2F #5B1860 #8A2491 #B930C2 #CE59D6

Accessibility & contrast

On white

7.66
#8A2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2491
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2491#FFFFFF#000000##FFFFFF
##8A24911.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2491;
/* rgb */ color: rgb(138, 36, 145);
/* oklch */ color: oklch(46.8% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8a2491',
    950: '#000000',
  },
}
SCSS
$custom: #8a2491;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2491",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 296.147,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.18496,
    "h": 325.2
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#8A2491
secondary
#5DBA56
accent
#E3444F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2491

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

Preview Lab → · Contrast checker → · Palette generator →

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