#A62F94#A62F94

#A62F94 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.190 H 334.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A62F94
RGBrgb(166, 47, 148)
HSLhsl(309, 56%, 42%)
HSVhsv(309, 72%, 65%)
CMYKcmyk(0%, 71.7%, 10.8%, 34.9%)
CIE-LABlab(41.66, 58.88, -29.59)
CIE-LCHlch(41.66, 65.90, 333.32°)
OKLaboklab(52.2% 0.1714 -0.0808)
OKLCHoklch(52.2% 0.19 334.7)
XYZxyz(22.0879, 12.2800, 29.2182)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F94 #2FA641
analogous
#7D2FA6 #A62F94 #A62F58
triadic
#A62F94 #94A62F #2F94A6
tetradic
#A62F94 #A67D2F #2FA641 #2F58A6
square
#A62F94 #A67D2F #2FA641 #2F58A6
split-complementary
#A62F94 #58A62F #2FA67D
monochromatic
#47143F #762169 #A62F94 #CB47B7 #D877CA

Accessibility & contrast

On white

6.08
#A62F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A62F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F94
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F94#FFFFFF#000000##FFFFFF
##A62F941.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#586991
Tritanopia (blue-blind)
#AE395E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62f94;
/* rgb */ color: rgb(166, 47, 148);
/* oklch */ color: oklch(52.2% 0.190 334.7);
Tailwind
colors: {
  custom: {
    50: '#c473b4',
    500: '#a62f94',
    950: '#000000',
  },
}
SCSS
$custom: #a62f94;
$custom-light: #c473b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f94",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 309.076,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.18952,
    "h": 334.7
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#A62F94
secondary
#70C17C
accent
#DF5F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62F94

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

Preview Lab → · Contrast checker → · Palette generator →

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