#A62898#A62898

#A62898 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.200 H 333.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A62898
RGBrgb(166, 40, 152)
HSLhsl(307, 61%, 40%)
HSVhsv(307, 76%, 65%)
CMYKcmyk(0%, 75.9%, 8.4%, 34.9%)
CIE-LABlab(41.05, 61.81, -32.97)
CIE-LCHlch(41.05, 70.06, 331.92°)
OKLaboklab(51.83% 0.1785 -0.0905)
OKLCHoklch(51.83% 0.2 333.1)
XYZxyz(22.1523, 11.8935, 30.8286)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62898 #28A636
analogous
#7528A6 #A62898 #A62859
triadic
#A62898 #98A628 #2898A6
tetradic
#A62898 #A67528 #28A636 #2859A6
square
#A62898 #A67528 #28A636 #2859A6
split-complementary
#A62898 #59A628 #28A675
monochromatic
#43103E #751C6B #A62898 #D03BBF #DC6DCF

Accessibility & contrast

On white

6.22
#A62898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A62898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62898
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62898#FFFFFF#000000##FFFFFF
##A628981.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#AE355E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a62898;
/* rgb */ color: rgb(166, 40, 152);
/* oklch */ color: oklch(51.8% 0.200 333.1);
Tailwind
colors: {
  custom: {
    50: '#c470b7',
    500: '#a62898',
    950: '#000000',
  },
}
SCSS
$custom: #a62898;
$custom-light: #c470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62898",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 306.667,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.20016,
    "h": 333.1
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#A62898
secondary
#67C272
accent
#E45544
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62898

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

Preview Lab → · Contrast checker → · Palette generator →

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