#8A2C91#8A2C91

#8A2C91 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.176 H 324.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A2C91
RGBrgb(138, 44, 145)
HSLhsl(296, 53%, 37%)
HSVhsv(296, 70%, 57%)
CMYKcmyk(4.8%, 69.7%, 0%, 43.1%)
CIE-LABlab(36.46, 52.75, -36.28)
CIE-LCHlch(36.46, 64.02, 325.49°)
OKLaboklab(47.51% 0.1437 -0.1008)
OKLCHoklch(47.51% 0.176 324.9)
XYZxyz(16.4924, 9.2500, 27.6993)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C91 #33912C
analogous
#582C91 #8A2C91 #912C65
triadic
#8A2C91 #918A2C #2C918A
tetradic
#8A2C91 #91582C #33912C #2C6591
square
#8A2C91 #91582C #33912C #2C6591
split-complementary
#8A2C91 #65912C #2C9158
monochromatic
#311033 #5D1E62 #8A2C91 #B73AC0 #C967D1

Accessibility & contrast

On white

7.37
#8A2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C91
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C91#FFFFFF#000000##FFFFFF
##8A2C911.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#3F5A8E
Tritanopia (blue-blind)
#8D3C5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2c91;
/* rgb */ color: rgb(138, 44, 145);
/* oklch */ color: oklch(47.5% 0.176 324.9);
Tailwind
colors: {
  custom: {
    50: '#af6eb2',
    500: '#8a2c91',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c91;
$custom-light: #af6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c91",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 295.842,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.17553,
    "h": 324.9
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#8A2C91
secondary
#67B762
accent
#DD4B55
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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