#A62F96#A62F96

#A62F96 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.191 H 333.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A62F96
RGBrgb(166, 47, 150)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 71.7%, 9.6%, 34.9%)
CIE-LABlab(41.76, 59.19, -30.65)
CIE-LCHlch(41.76, 66.65, 332.63°)
OKLaboklab(52.31% 0.1716 -0.0839)
OKLCHoklch(52.31% 0.191 333.9)
XYZxyz(22.2476, 12.3439, 30.0591)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F96 #2FA63F
analogous
#7B2FA6 #A62F96 #A62F5B
triadic
#A62F96 #96A62F #2F96A6
tetradic
#A62F96 #A67B2F #2FA63F #2F5BA6
square
#A62F96 #A67B2F #2FA63F #2F5BA6
split-complementary
#A62F96 #5BA62F #2FA67B
monochromatic
#471440 #76216B #A62F96 #CB47B9 #D877CB

Accessibility & contrast

On white

6.05
#A62F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A62F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F96
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F96#FFFFFF#000000##FFFFFF
##A62F961.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#AE395F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62f96;
/* rgb */ color: rgb(166, 47, 150);
/* oklch */ color: oklch(52.3% 0.191 333.9);
Tailwind
colors: {
  custom: {
    50: '#c473b5',
    500: '#a62f96',
    950: '#000000',
  },
}
SCSS
$custom: #a62f96;
$custom-light: #c473b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f96",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 308.067,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.19099,
    "h": 333.9
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#A62F96
secondary
#70C17B
accent
#DF5D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62F96

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

Preview Lab → · Contrast checker → · Palette generator →

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