#A62D97#A62D97

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

Color values

HEX#A62D97
RGBrgb(166, 45, 151)
HSLhsl(307, 57%, 41%)
HSVhsv(307, 73%, 65%)
CMYKcmyk(0%, 72.9%, 9%, 34.9%)
CIE-LABlab(41.56, 60.04, -31.55)
CIE-LCHlch(41.56, 67.82, 332.27°)
OKLaboklab(52.19% 0.1737 -0.0865)
OKLCHoklch(52.19% 0.194 333.5)
XYZxyz(22.2503, 12.2200, 30.4590)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62D97 #2DA63C
analogous
#792DA6 #A62D97 #A62D5B
triadic
#A62D97 #97A62D #2D97A6
tetradic
#A62D97 #A6792D #2DA63C #2D5BA6
square
#A62D97 #A6792D #2DA63C #2D5BA6
split-complementary
#A62D97 #5BA62D #2DA679
monochromatic
#46133F #76206B #A62D97 #CC44BB #D974CD

Accessibility & contrast

On white

6.10
#A62D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62D97
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62D97#FFFFFF#000000##FFFFFF
##A62D971.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#566894
Tritanopia (blue-blind)
#AE385F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62d97;
/* rgb */ color: rgb(166, 45, 151);
/* oklch */ color: oklch(52.2% 0.194 333.5);
Tailwind
colors: {
  custom: {
    50: '#c472b6',
    500: '#a62d97',
    950: '#000000',
  },
}
SCSS
$custom: #a62d97;
$custom-light: #c472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62d97",
  "rgb": {
    "r": 166,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 307.438,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.19404,
    "h": 333.5
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#A62D97
secondary
#6EC178
accent
#E15A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62D97

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

Preview Lab → · Contrast checker → · Palette generator →

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