#A8299E#A8299E

#A8299E is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 331.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A8299E
RGBrgb(168, 41, 158)
HSLhsl(305, 61%, 41%)
HSVhsv(305, 76%, 66%)
CMYKcmyk(0%, 75.6%, 6%, 34.1%)
CIE-LABlab(41.82, 62.88, -35.35)
CIE-LCHlch(41.82, 72.14, 330.65°)
OKLaboklab(52.55% 0.1799 -0.0974)
OKLCHoklch(52.55% 0.205 331.6)
XYZxyz(23.1130, 12.3812, 33.5136)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8299E #29A833
analogous
#7229A8 #A8299E #A8295E
triadic
#A8299E #9EA829 #299EA8
tetradic
#A8299E #A87229 #29A833 #295EA8
square
#A8299E #A87229 #29A833 #295EA8
split-complementary
#A8299E #5EA829 #29A872
monochromatic
#461141 #771D70 #A8299E #D03EC4 #DC6FD3

Accessibility & contrast

On white

6.04
#A8299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A8299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8299E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8299E#FFFFFF#000000##FFFFFF
##A8299E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#52699B
Tritanopia (blue-blind)
#AF3962
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a8299e;
/* rgb */ color: rgb(168, 41, 158);
/* oklch */ color: oklch(52.5% 0.205 331.6);
Tailwind
colors: {
  custom: {
    50: '#c671bb',
    500: '#a8299e',
    950: '#000000',
  },
}
SCSS
$custom: #a8299e;
$custom-light: #c671bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8299e",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 304.724,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.20456,
    "h": 331.6
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#A8299E
secondary
#6AC371
accent
#E45144
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8299E

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

Preview Lab → · Contrast checker → · Palette generator →

#A8299E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva