#A42697#A42697

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

Color values

HEX#A42697
RGBrgb(164, 38, 151)
HSLhsl(306, 62%, 40%)
HSVhsv(306, 77%, 64%)
CMYKcmyk(0%, 76.8%, 7.9%, 35.7%)
CIE-LABlab(40.43, 61.82, -33.36)
CIE-LCHlch(40.43, 70.24, 331.65°)
OKLaboklab(51.31% 0.1782 -0.0917)
OKLCHoklch(51.31% 0.2 332.8)
XYZxyz(21.5890, 11.5149, 30.3577)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42697 #26A433
analogous
#7226A4 #A42697 #A42658
triadic
#A42697 #97A426 #2697A4
tetradic
#A42697 #A47226 #26A433 #2658A4
square
#A42697 #A47226 #26A433 #2658A4
split-complementary
#A42697 #58A426 #26A472
monochromatic
#410F3C #721A69 #A42697 #D137C1 #DC68D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42697#FFFFFF#000000##FFFFFF
##A426971.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)
#1F549A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#AB345D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42697;
/* rgb */ color: rgb(164, 38, 151);
/* oklch */ color: oklch(51.3% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36fb6',
    500: '#a42697',
    950: '#000000',
  },
}
SCSS
$custom: #a42697;
$custom-light: #c36fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42697",
  "rgb": {
    "r": 164,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 306.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51309,
    "c": 0.2004,
    "h": 332.8
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#A42697
secondary
#64C26D
accent
#E55342
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42697

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

Preview Lab → · Contrast checker → · Palette generator →

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