#A8299F#A8299F

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

Color values

HEX#A8299F
RGBrgb(168, 41, 159)
HSLhsl(304, 61%, 41%)
HSVhsv(304, 76%, 66%)
CMYKcmyk(0%, 75.6%, 5.4%, 34.1%)
CIE-LABlab(41.87, 63.04, -35.87)
CIE-LCHlch(41.87, 72.53, 330.36°)
OKLaboklab(52.61% 0.1799 -0.0988)
OKLCHoklch(52.61% 0.205 331.2)
XYZxyz(23.1994, 12.4158, 33.9688)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8299F #29A832
analogous
#7129A8 #A8299F #A8295F
triadic
#A8299F #9FA829 #299FA8
tetradic
#A8299F #A87129 #29A832 #295FA8
square
#A8299F #A87129 #29A832 #295FA8
split-complementary
#A8299F #5FA829 #29A871
monochromatic
#461142 #771D70 #A8299F #D03EC6 #DC6FD4

Accessibility & contrast

On white

6.03
#A8299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8299F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8299F#FFFFFF#000000##FFFFFF
##A8299F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8299f;
/* rgb */ color: rgb(168, 41, 159);
/* oklch */ color: oklch(52.6% 0.205 331.2);
Tailwind
colors: {
  custom: {
    50: '#c671bc',
    500: '#a8299f',
    950: '#000000',
  },
}
SCSS
$custom: #a8299f;
$custom-light: #c671bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8299f",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 304.252,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.2053,
    "h": 331.2
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#A8299F
secondary
#6AC370
accent
#E44F44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8299F

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

Preview Lab → · Contrast checker → · Palette generator →

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