#A62F99#A62F99

#A62F99 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.193 H 332.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A62F99
RGBrgb(166, 47, 153)
HSLhsl(307, 56%, 42%)
HSVhsv(307, 72%, 65%)
CMYKcmyk(0%, 71.7%, 7.8%, 34.9%)
CIE-LABlab(41.91, 59.66, -32.22)
CIE-LCHlch(41.91, 67.80, 331.63°)
OKLaboklab(52.47% 0.1718 -0.0884)
OKLCHoklch(52.47% 0.193 332.8)
XYZxyz(22.4923, 12.4418, 31.3477)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F99 #2FA63C
analogous
#782FA6 #A62F99 #A62F5D
triadic
#A62F99 #99A62F #2F99A6
tetradic
#A62F99 #A6782F #2FA63C #2F5DA6
square
#A62F99 #A6782F #2FA63C #2F5DA6
split-complementary
#A62F99 #5DA62F #2FA678
monochromatic
#471441 #76216D #A62F99 #CB47BD #D877CE

Accessibility & contrast

On white

6.02
#A62F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A62F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F99
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F99#FFFFFF#000000##FFFFFF
##A62F991.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#AD3B61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a62f99;
/* rgb */ color: rgb(166, 47, 153);
/* oklch */ color: oklch(52.5% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#c473b7',
    500: '#a62f99',
    950: '#000000',
  },
}
SCSS
$custom: #a62f99;
$custom-light: #c473b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f99",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 306.555,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.19323,
    "h": 332.8
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#A62F99
secondary
#70C179
accent
#DF5949
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62F99

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

Preview Lab → · Contrast checker → · Palette generator →

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