#A62D98#A62D98

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

Color values

HEX#A62D98
RGBrgb(166, 45, 152)
HSLhsl(307, 57%, 41%)
HSVhsv(307, 73%, 65%)
CMYKcmyk(0%, 72.9%, 8.4%, 34.9%)
CIE-LABlab(41.61, 60.19, -32.08)
CIE-LCHlch(41.61, 68.21, 331.95°)
OKLaboklab(52.24% 0.1738 -0.088)
OKLCHoklch(52.24% 0.195 333.1)
XYZxyz(22.3319, 12.2526, 30.8885)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62D98 #2DA63B
analogous
#782DA6 #A62D98 #A62D5C
triadic
#A62D98 #98A62D #2D98A6
tetradic
#A62D98 #A6782D #2DA63B #2D5CA6
square
#A62D98 #A6782D #2DA63B #2D5CA6
split-complementary
#A62D98 #5CA62D #2DA678
monochromatic
#461340 #76206C #A62D98 #CC44BD #D974CE

Accessibility & contrast

On white

6.09
#A62D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A62D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62D98
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62D98#FFFFFF#000000##FFFFFF
##A62D981.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#AE395F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62d98;
/* rgb */ color: rgb(166, 45, 152);
/* oklch */ color: oklch(52.2% 0.195 333.1);
Tailwind
colors: {
  custom: {
    50: '#c472b6',
    500: '#a62d98',
    950: '#000000',
  },
}
SCSS
$custom: #a62d98;
$custom-light: #c472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62d98",
  "rgb": {
    "r": 166,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 306.942,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.19478,
    "h": 333.1
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#A62D98
secondary
#6EC177
accent
#E15947
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62D98

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

Preview Lab → · Contrast checker → · Palette generator →

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