#8A2B91#8A2B91

#8A2B91 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.177 H 325.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A2B91
RGBrgb(138, 43, 145)
HSLhsl(296, 54%, 37%)
HSVhsv(296, 70%, 57%)
CMYKcmyk(4.8%, 70.3%, 0%, 43.1%)
CIE-LABlab(36.32, 53.15, -36.50)
CIE-LCHlch(36.32, 64.47, 325.52°)
OKLaboklab(47.41% 0.1448 -0.1015)
OKLCHoklch(47.41% 0.177 325)
XYZxyz(16.4556, 9.1764, 27.6871)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B91 #32912B
analogous
#572B91 #8A2B91 #912B65
triadic
#8A2B91 #918A2B #2B918A
tetradic
#8A2B91 #91572B #32912B #2B6591
square
#8A2B91 #91572B #32912B #2B6591
split-complementary
#8A2B91 #65912B #2B9157
monochromatic
#300F33 #5D1D62 #8A2B91 #B739C0 #CA65D1

Accessibility & contrast

On white

7.41
#8A2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B91
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B91#FFFFFF#000000##FFFFFF
##8A2B911.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E94
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#8D3B5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2b91;
/* rgb */ color: rgb(138, 43, 145);
/* oklch */ color: oklch(47.4% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#af6db2',
    500: '#8a2b91',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b91;
$custom-light: #af6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b91",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 295.882,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.17679,
    "h": 325
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#8A2B91
secondary
#66B860
accent
#DE4A54
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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