#8A299C#8A299C

#8A299C is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 320.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A299C
RGBrgb(138, 41, 156)
HSLhsl(291, 58%, 39%)
HSVhsv(291, 74%, 61%)
CMYKcmyk(11.5%, 73.7%, 0%, 38.8%)
CIE-LABlab(36.73, 55.96, -42.55)
CIE-LCHlch(36.73, 70.29, 322.75°)
OKLaboklab(47.91% 0.1464 -0.1191)
OKLCHoklch(47.91% 0.189 320.9)
XYZxyz(17.2742, 9.3904, 32.3487)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A299C #3B9C29
analogous
#50299C #8A299C #9C2974
triadic
#8A299C #9C8A29 #299C8A
tetradic
#8A299C #9C5029 #3B9C29 #29749C
square
#8A299C #9C5029 #3B9C29 #29749C
split-complementary
#8A299C #749C29 #299C50
monochromatic
#34103B #5F1C6C #8A299C #B438CB #C668D7

Accessibility & contrast

On white

7.30
#8A299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A299C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A299C#FFFFFF#000000##FFFFFF
##8A299C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#365A99
Tritanopia (blue-blind)
#8B3F60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a299c;
/* rgb */ color: rgb(138, 41, 156);
/* oklch */ color: oklch(47.9% 0.189 320.9);
Tailwind
colors: {
  custom: {
    50: '#b06dba',
    500: '#8a299c',
    950: '#000000',
  },
}
SCSS
$custom: #8a299c;
$custom-light: #b06dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a299c",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 290.609,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.18873,
    "h": 320.9
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#8A299C
secondary
#71BE63
accent
#E2465F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A299C

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

Preview Lab → · Contrast checker → · Palette generator →

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