#8A299B#8A299B

#8A299B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.188 H 321.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A299B
RGBrgb(138, 41, 155)
HSLhsl(291, 58%, 38%)
HSVhsv(291, 74%, 61%)
CMYKcmyk(11%, 73.5%, 0%, 39.2%)
CIE-LABlab(36.66, 55.77, -42.04)
CIE-LCHlch(36.66, 69.84, 322.99°)
OKLaboklab(47.85% 0.1465 -0.1176)
OKLCHoklch(47.85% 0.188 321.2)
XYZxyz(17.1899, 9.3566, 31.9046)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A299B #3A9B29
analogous
#51299B #8A299B #9B2973
triadic
#8A299B #9B8A29 #299B8A
tetradic
#8A299B #9B5129 #3A9B29 #29739B
square
#8A299B #9B5129 #3A9B29 #29739B
split-complementary
#8A299B #739B29 #299B51
monochromatic
#340F3A #5F1C6B #8A299B #B437CA #C667D7

Accessibility & contrast

On white

7.31
#8A299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A299B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A299B#FFFFFF#000000##FFFFFF
##8A299B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#8B3F60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a299b;
/* rgb */ color: rgb(138, 41, 155);
/* oklch */ color: oklch(47.8% 0.188 321.2);
Tailwind
colors: {
  custom: {
    50: '#b06db9',
    500: '#8a299b',
    950: '#000000',
  },
}
SCSS
$custom: #8a299b;
$custom-light: #b06db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a299b",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 291.053,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.18786,
    "h": 321.2
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#8A299B
secondary
#70BD63
accent
#E1465E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A299B

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

Preview Lab → · Contrast checker → · Palette generator →

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