#A62798#A62798

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

Color values

HEX#A62798
RGBrgb(166, 39, 152)
HSLhsl(307, 62%, 40%)
HSVhsv(307, 77%, 65%)
CMYKcmyk(0%, 76.5%, 8.4%, 34.9%)
CIE-LABlab(40.94, 62.12, -33.14)
CIE-LCHlch(40.94, 70.41, 331.92°)
OKLaboklab(51.75% 0.1794 -0.091)
OKLCHoklch(51.75% 0.201 333.1)
XYZxyz(22.1190, 11.8269, 30.8176)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62798 #27A635
analogous
#7427A6 #A62798 #A62759
triadic
#A62798 #98A627 #2798A6
tetradic
#A62798 #A67427 #27A635 #2759A6
square
#A62798 #A67427 #27A635 #2759A6
split-complementary
#A62798 #59A627 #27A674
monochromatic
#43103D #741B6B #A62798 #D13AC0 #DC6BD0

Accessibility & contrast

On white

6.24
#A62798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A62798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62798
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62798#FFFFFF#000000##FFFFFF
##A627981.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a62798;
/* rgb */ color: rgb(166, 39, 152);
/* oklch */ color: oklch(51.8% 0.201 333.1);
Tailwind
colors: {
  custom: {
    50: '#c470b7',
    500: '#a62798',
    950: '#000000',
  },
}
SCSS
$custom: #a62798;
$custom-light: #c470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62798",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 306.614,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.20117,
    "h": 333.1
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#A62798
secondary
#66C370
accent
#E55543
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62798

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

Preview Lab → · Contrast checker → · Palette generator →

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