#A62F97#A62F97

#A62F97 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 333.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A62F97
RGBrgb(166, 47, 151)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 71.7%, 9%, 34.9%)
CIE-LABlab(41.81, 59.34, -31.17)
CIE-LCHlch(41.81, 67.03, 332.29°)
OKLaboklab(52.36% 0.1717 -0.0854)
OKLCHoklch(52.36% 0.192 333.6)
XYZxyz(22.3285, 12.3763, 30.4850)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F97 #2FA63E
analogous
#7A2FA6 #A62F97 #A62F5C
triadic
#A62F97 #97A62F #2F97A6
tetradic
#A62F97 #A67A2F #2FA63E #2F5CA6
square
#A62F97 #A67A2F #2FA63E #2F5CA6
split-complementary
#A62F97 #5CA62F #2FA67A
monochromatic
#471440 #76216C #A62F97 #CB47BA #D877CC

Accessibility & contrast

On white

6.04
#A62F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62F97
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F97#FFFFFF#000000##FFFFFF
##A62F971.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#AE3A5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a62f97;
/* rgb */ color: rgb(166, 47, 151);
/* oklch */ color: oklch(52.4% 0.192 333.6);
Tailwind
colors: {
  custom: {
    50: '#c473b6',
    500: '#a62f97',
    950: '#000000',
  },
}
SCSS
$custom: #a62f97;
$custom-light: #c473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f97",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 307.563,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.19173,
    "h": 333.6
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#A62F97
secondary
#70C17A
accent
#DF5C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62F97

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

Preview Lab → · Contrast checker → · Palette generator →

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