#A62C98#A62C98

#A62C98 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 333.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A62C98
RGBrgb(166, 44, 152)
HSLhsl(307, 58%, 41%)
HSVhsv(307, 73%, 65%)
CMYKcmyk(0%, 73.5%, 8.4%, 34.9%)
CIE-LABlab(41.50, 60.53, -32.26)
CIE-LCHlch(41.50, 68.59, 331.94°)
OKLaboklab(52.15% 0.1748 -0.0885)
OKLCHoklch(52.15% 0.196 333.1)
XYZxyz(22.2942, 12.1772, 30.8759)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62C98 #2CA63A
analogous
#772CA6 #A62C98 #A62C5B
triadic
#A62C98 #98A62C #2C98A6
tetradic
#A62C98 #A6772C #2CA63A #2C5BA6
square
#A62C98 #A6772C #2CA63A #2C5BA6
split-complementary
#A62C98 #5BA62C #2CA677
monochromatic
#45123F #761F6C #A62C98 #CD42BD #DA73CE

Accessibility & contrast

On white

6.11
#A62C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A62C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62C98
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62C98#FFFFFF#000000##FFFFFF
##A62C981.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#AE385F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62c98;
/* rgb */ color: rgb(166, 44, 152);
/* oklch */ color: oklch(52.2% 0.196 333.1);
Tailwind
colors: {
  custom: {
    50: '#c472b6',
    500: '#a62c98',
    950: '#000000',
  },
}
SCSS
$custom: #a62c98;
$custom-light: #c472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62c98",
  "rgb": {
    "r": 166,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 306.885,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.1959,
    "h": 333.1
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#A62C98
secondary
#6DC176
accent
#E15846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62C98

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

Preview Lab → · Contrast checker → · Palette generator →

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