#A42BA9#A42BA9

#A42BA9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 326.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A42BA9
RGBrgb(164, 43, 169)
HSLhsl(298, 59%, 42%)
HSVhsv(298, 75%, 66%)
CMYKcmyk(3%, 74.6%, 0%, 33.7%)
CIE-LABlab(41.98, 63.17, -41.72)
CIE-LCHlch(41.98, 75.70, 326.56°)
OKLaboklab(52.74% 0.1738 -0.1159)
OKLCHoklch(52.74% 0.209 326.3)
XYZxyz(23.3347, 12.4864, 38.7095)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BA9 #30A92B
analogous
#652BA9 #A42BA9 #A92B6F
triadic
#A42BA9 #A9A42B #2BA9A4
tetradic
#A42BA9 #A9652B #30A92B #2B6FA9
square
#A42BA9 #A9652B #30A92B #2B6FA9
split-complementary
#A42BA9 #6FA92B #2BA965
monochromatic
#451247 #751F78 #A42BA9 #C942CF #D773DB

Accessibility & contrast

On white

6.01
#A42BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A42BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BA9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BA9#FFFFFF#000000##FFFFFF
##A42BA91.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#A84068
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ba9;
/* rgb */ color: rgb(164, 43, 169);
/* oklch */ color: oklch(52.7% 0.209 326.3);
Tailwind
colors: {
  custom: {
    50: '#c372c3',
    500: '#a42ba9',
    950: '#000000',
  },
}
SCSS
$custom: #a42ba9;
$custom-light: #c372c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ba9",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 297.619,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.20895,
    "h": 326.3
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#A42BA9
secondary
#70C36D
accent
#E3454B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A42BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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