#A02799#A02799

#A02799 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.9% C 0.199 H 330.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A02799
RGBrgb(160, 39, 153)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 76%, 63%)
CMYKcmyk(0%, 75.6%, 4.4%, 37.3%)
CIE-LABlab(39.96, 60.94, -35.36)
CIE-LCHlch(39.96, 70.45, 329.87°)
OKLaboklab(50.87% 0.1732 -0.0976)
OKLCHoklch(50.87% 0.199 330.6)
XYZxyz(20.9724, 11.2262, 31.1931)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02799 #27A02E
analogous
#6B27A0 #A02799 #A0275D
triadic
#A02799 #99A027 #2799A0
tetradic
#A02799 #A06B27 #27A02E #275DA0
square
#A02799 #A06B27 #27A02E #275DA0
split-complementary
#A02799 #5DA027 #27A06B
monochromatic
#3E0F3B #6F1B6A #A02799 #CE36C5 #DA67D3

Accessibility & contrast

On white

6.47
#A02799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A02799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02799
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02799#FFFFFF#000000##FFFFFF
##A027991.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#A6375E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02799;
/* rgb */ color: rgb(160, 39, 153);
/* oklch */ color: oklch(50.9% 0.199 330.6);
Tailwind
colors: {
  custom: {
    50: '#c06fb7',
    500: '#a02799',
    950: '#000000',
  },
}
SCSS
$custom: #a02799;
$custom-light: #c06fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02799",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 303.471,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50872,
    "c": 0.19883,
    "h": 330.6
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#A02799
secondary
#63C068
accent
#E44D44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02799

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

Preview Lab → · Contrast checker → · Palette generator →

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