#A62897#A62897

#A62897 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 333.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A62897
RGBrgb(166, 40, 151)
HSLhsl(307, 61%, 40%)
HSVhsv(307, 76%, 65%)
CMYKcmyk(0%, 75.9%, 9%, 34.9%)
CIE-LABlab(40.99, 61.66, -32.45)
CIE-LCHlch(40.99, 69.68, 332.24°)
OKLaboklab(51.78% 0.1785 -0.089)
OKLCHoklch(51.78% 0.199 333.5)
XYZxyz(22.0708, 11.8608, 30.3991)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62897 #28A637
analogous
#7628A6 #A62897 #A62858
triadic
#A62897 #97A628 #2897A6
tetradic
#A62897 #A67628 #28A637 #2858A6
square
#A62897 #A67628 #28A637 #2858A6
split-complementary
#A62897 #58A628 #28A676
monochromatic
#43103D #751C6A #A62897 #D03BBE #DC6DCF

Accessibility & contrast

On white

6.23
#A62897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62897
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62897#FFFFFF#000000##FFFFFF
##A628971.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#AE355D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a62897;
/* rgb */ color: rgb(166, 40, 151);
/* oklch */ color: oklch(51.8% 0.199 333.5);
Tailwind
colors: {
  custom: {
    50: '#c470b6',
    500: '#a62897',
    950: '#000000',
  },
}
SCSS
$custom: #a62897;
$custom-light: #c470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62897",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 307.143,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.19944,
    "h": 333.5
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A62897

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

Preview Lab → · Contrast checker → · Palette generator →

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