#A42695#A42695

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

Color values

HEX#A42695
RGBrgb(164, 38, 149)
HSLhsl(307, 62%, 40%)
HSVhsv(307, 77%, 64%)
CMYKcmyk(0%, 76.8%, 9.1%, 35.7%)
CIE-LABlab(40.33, 61.51, -32.31)
CIE-LCHlch(40.33, 69.48, 332.29°)
OKLaboklab(51.2% 0.1781 -0.0886)
OKLCHoklch(51.2% 0.199 333.5)
XYZxyz(21.4279, 11.4505, 29.5096)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42695 #26A435
analogous
#7426A4 #A42695 #A42656
triadic
#A42695 #95A426 #2695A4
tetradic
#A42695 #A47426 #26A435 #2656A4
square
#A42695 #A47426 #26A435 #2656A4
split-complementary
#A42695 #56A426 #26A474
monochromatic
#410F3B #721A68 #A42695 #D137BE #DC68CE

Accessibility & contrast

On white

6.38
#A42695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A42695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42695
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42695#FFFFFF#000000##FFFFFF
##A426951.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#526592
Tritanopia (blue-blind)
#AC335C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42695;
/* rgb */ color: rgb(164, 38, 149);
/* oklch */ color: oklch(51.2% 0.199 333.5);
Tailwind
colors: {
  custom: {
    50: '#c36fb4',
    500: '#a42695',
    950: '#000000',
  },
}
SCSS
$custom: #a42695;
$custom-light: #c36fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42695",
  "rgb": {
    "r": 164,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 307.143,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.19896,
    "h": 333.5
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#A42695
secondary
#64C26F
accent
#E55642
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42695

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

Preview Lab → · Contrast checker → · Palette generator →

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