#A62498#A62498

#A62498 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.204 H 333.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A62498
RGBrgb(166, 36, 152)
HSLhsl(306, 64%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 78.3%, 8.4%, 34.9%)
CIE-LABlab(40.63, 62.99, -33.62)
CIE-LCHlch(40.63, 71.41, 331.91°)
OKLaboklab(51.54% 0.182 -0.0924)
OKLCHoklch(51.54% 0.204 333.1)
XYZxyz(22.0244, 11.6377, 30.7860)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62498 #24A632
analogous
#7324A6 #A62498 #A62457
triadic
#A62498 #98A624 #2498A6
tetradic
#A62498 #A67324 #24A632 #2457A6
square
#A62498 #A67324 #24A632 #2457A6
split-complementary
#A62498 #57A624 #24A673
monochromatic
#410E3C #74196A #A62498 #D334C2 #DE66D1

Accessibility & contrast

On white

6.31
#A62498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A62498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62498
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62498#FFFFFF#000000##FFFFFF
##A624981.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#AE335D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62498;
/* rgb */ color: rgb(166, 36, 152);
/* oklch */ color: oklch(51.5% 0.204 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a62498',
    950: '#000000',
  },
}
SCSS
$custom: #a62498;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62498",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 306.462,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.20408,
    "h": 333.1
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#A62498
secondary
#62C46D
accent
#E75240
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62498

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

Preview Lab → · Contrast checker → · Palette generator →

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