#A62298#A62298

#A62298 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.206 H 333.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A62298
RGBrgb(166, 34, 152)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 80%, 65%)
CMYKcmyk(0%, 79.5%, 8.4%, 34.9%)
CIE-LABlab(40.44, 63.55, -33.93)
CIE-LCHlch(40.44, 72.04, 331.90°)
OKLaboklab(51.4% 0.1836 -0.0932)
OKLCHoklch(51.4% 0.206 333.1)
XYZxyz(21.9656, 11.5200, 30.7664)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62298 #22A630
analogous
#7222A6 #A62298 #A62256
triadic
#A62298 #98A622 #2298A6
tetradic
#A62298 #A67222 #22A630 #2256A6
square
#A62298 #A67222 #22A630 #2256A6
split-complementary
#A62298 #56A622 #22A672
monochromatic
#400D3B #731869 #A62298 #D530C3 #DF63D2

Accessibility & contrast

On white

6.36
#A62298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A62298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62298
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62298#FFFFFF#000000##FFFFFF
##A622981.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AE325D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62298;
/* rgb */ color: rgb(166, 34, 152);
/* oklch */ color: oklch(51.4% 0.206 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a62298',
    950: '#000000',
  },
}
SCSS
$custom: #a62298;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62298",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 306.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.20591,
    "h": 333.1
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#A62298
secondary
#5FC46A
accent
#E9513F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62298

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

Preview Lab → · Contrast checker → · Palette generator →

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