#8A299A#8A299A

#8A299A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 321.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A299A
RGBrgb(138, 41, 154)
HSLhsl(292, 58%, 38%)
HSVhsv(292, 73%, 60%)
CMYKcmyk(10.4%, 73.4%, 0%, 39.6%)
CIE-LABlab(36.60, 55.58, -41.54)
CIE-LCHlch(36.60, 69.38, 323.23°)
OKLaboklab(47.78% 0.1465 -0.1161)
OKLCHoklch(47.78% 0.187 321.6)
XYZxyz(17.1063, 9.3232, 31.4641)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A299A #399A29
analogous
#51299A #8A299A #9A2972
triadic
#8A299A #9A8A29 #299A8A
tetradic
#8A299A #9A5129 #399A29 #29729A
square
#8A299A #9A5129 #399A29 #29729A
split-complementary
#8A299A #729A29 #299A51
monochromatic
#330F39 #5F1C6A #8A299A #B537CA #C767D7

Accessibility & contrast

On white

7.33
#8A299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A299A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A299A#FFFFFF#000000##FFFFFF
##8A299A1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#375A97
Tritanopia (blue-blind)
#8B3E5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a299a;
/* rgb */ color: rgb(138, 41, 154);
/* oklch */ color: oklch(47.8% 0.187 321.6);
Tailwind
colors: {
  custom: {
    50: '#b06db8',
    500: '#8a299a',
    950: '#000000',
  },
}
SCSS
$custom: #8a299a;
$custom-light: #b06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a299a",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 291.504,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.18699,
    "h": 321.6
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#8A299A
secondary
#6FBD62
accent
#E1475D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A299A

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

Preview Lab → · Contrast checker → · Palette generator →

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