#A62896#A62896

#A62896 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 333.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A62896
RGBrgb(166, 40, 150)
HSLhsl(308, 61%, 40%)
HSVhsv(308, 76%, 65%)
CMYKcmyk(0%, 75.9%, 9.6%, 34.9%)
CIE-LABlab(40.94, 61.51, -31.93)
CIE-LCHlch(40.94, 69.30, 332.57°)
OKLaboklab(51.72% 0.1784 -0.0875)
OKLCHoklch(51.72% 0.199 333.9)
XYZxyz(21.9899, 11.8285, 29.9732)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62896 #28A638
analogous
#7728A6 #A62896 #A62857
triadic
#A62896 #96A628 #2896A6
tetradic
#A62896 #A67728 #28A638 #2857A6
square
#A62896 #A67728 #28A638 #2857A6
split-complementary
#A62896 #57A628 #28A677
monochromatic
#43103D #751C69 #A62896 #D03BBD #DC6DCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A62896#FFFFFF#000000##FFFFFF
##A628961.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)
#245599
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AE345D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a62896;
/* rgb */ color: rgb(166, 40, 150);
/* oklch */ color: oklch(51.7% 0.199 333.9);
Tailwind
colors: {
  custom: {
    50: '#c470b5',
    500: '#a62896',
    950: '#000000',
  },
}
SCSS
$custom: #a62896;
$custom-light: #c470b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a62896",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 307.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.19872,
    "h": 333.9
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#A62896
secondary
#67C273
accent
#E45844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62896

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

Preview Lab → · Contrast checker → · Palette generator →

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