#8A2A95#8A2A95

#8A2A95 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.181 H 323.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8A2A95
RGBrgb(138, 42, 149)
HSLhsl(294, 56%, 37%)
HSVhsv(294, 72%, 58%)
CMYKcmyk(7.4%, 71.8%, 0%, 41.6%)
CIE-LABlab(36.42, 54.27, -38.78)
CIE-LCHlch(36.42, 66.70, 324.45°)
OKLaboklab(47.56% 0.1458 -0.1081)
OKLCHoklch(47.56% 0.181 323.4)
XYZxyz(16.7335, 9.2301, 29.3281)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A95 #35952A
analogous
#552A95 #8A2A95 #952A6A
triadic
#8A2A95 #958A2A #2A958A
tetradic
#8A2A95 #95552A #35952A #2A6A95
square
#8A2A95 #95552A #35952A #2A6A95
split-complementary
#8A2A95 #6A952A #2A9555
monochromatic
#320F36 #5E1D65 #8A2A95 #B637C5 #C866D4

Accessibility & contrast

On white

7.38
#8A2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A95
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A95#FFFFFF#000000##FFFFFF
##8A2A951.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#3C5992
Tritanopia (blue-blind)
#8C3D5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2a95;
/* rgb */ color: rgb(138, 42, 149);
/* oklch */ color: oklch(47.6% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#af6db5',
    500: '#8a2a95',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a95;
$custom-light: #af6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a95",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 293.832,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.18147,
    "h": 323.4
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#8A2A95
secondary
#6ABA61
accent
#DF4858
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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