#A62F98#A62F98

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

Color values

HEX#A62F98
RGBrgb(166, 47, 152)
HSLhsl(307, 56%, 42%)
HSVhsv(307, 72%, 65%)
CMYKcmyk(0%, 71.7%, 8.4%, 34.9%)
CIE-LABlab(41.86, 59.50, -31.69)
CIE-LCHlch(41.86, 67.41, 331.96°)
OKLaboklab(52.42% 0.1718 -0.0869)
OKLCHoklch(52.42% 0.192 333.2)
XYZxyz(22.4100, 12.4089, 30.9145)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F98 #2FA63D
analogous
#792FA6 #A62F98 #A62F5D
triadic
#A62F98 #98A62F #2F98A6
tetradic
#A62F98 #A6792F #2FA63D #2F5DA6
square
#A62F98 #A6792F #2FA63D #2F5DA6
split-complementary
#A62F98 #5DA62F #2FA679
monochromatic
#471441 #76216C #A62F98 #CB47BB #D877CD

Accessibility & contrast

On white

6.03
#A62F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A62F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F98
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F98#FFFFFF#000000##FFFFFF
##A62F981.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#AD3A60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a62f98;
/* rgb */ color: rgb(166, 47, 152);
/* oklch */ color: oklch(52.4% 0.192 333.2);
Tailwind
colors: {
  custom: {
    50: '#c473b6',
    500: '#a62f98',
    950: '#000000',
  },
}
SCSS
$custom: #a62f98;
$custom-light: #c473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f98",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 307.059,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.19248,
    "h": 333.2
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A62F98

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

Preview Lab → · Contrast checker → · Palette generator →

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