#A42BA3#A42BA3

#A42BA3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.204 H 328.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A42BA3
RGBrgb(164, 43, 163)
HSLhsl(300, 58%, 41%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0%, 73.8%, 0.6%, 35.7%)
CIE-LABlab(41.64, 62.17, -38.68)
CIE-LCHlch(41.64, 73.22, 328.11°)
OKLaboklab(52.38% 0.1739 -0.1071)
OKLCHoklch(52.38% 0.204 328.4)
XYZxyz(22.7843, 12.2663, 35.8108)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BA3 #2BA42C
analogous
#682BA4 #A42BA3 #A42B66
triadic
#A42BA3 #A3A42B #2BA3A4
tetradic
#A42BA3 #A4682B #2BA42C #2B66A4
square
#A42BA3 #A4682B #2BA42C #2B66A4
split-complementary
#A42BA3 #66A42B #2BA468
monochromatic
#431243 #741E73 #A42BA3 #CD3FCC #D970D9

Accessibility & contrast

On white

6.08
#A42BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A42BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BA3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BA3#FFFFFF#000000##FFFFFF
##A42BA31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#A93E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ba3;
/* rgb */ color: rgb(164, 43, 163);
/* oklch */ color: oklch(52.4% 0.204 328.4);
Tailwind
colors: {
  custom: {
    50: '#c371bf',
    500: '#a42ba3',
    950: '#000000',
  },
}
SCSS
$custom: #a42ba3;
$custom-light: #c371bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ba3",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 300.496,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.20427,
    "h": 328.4
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#A42BA3
secondary
#6AC16B
accent
#E24746
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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