#A42BA4#A42BA4

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

Color values

HEX#A42BA4
RGBrgb(164, 43, 164)
HSLhsl(300, 58%, 41%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0%, 73.8%, 0%, 35.7%)
CIE-LABlab(41.69, 62.33, -39.19)
CIE-LCHlch(41.69, 73.63, 327.84°)
OKLaboklab(52.44% 0.1739 -0.1086)
OKLCHoklch(52.44% 0.205 328)
XYZxyz(22.8743, 12.3023, 36.2846)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BA4 #2BA42B
analogous
#672BA4 #A42BA4 #A42B67
triadic
#A42BA4 #A4A42B #2BA4A4
tetradic
#A42BA4 #A4672B #2BA42B #2B67A4
square
#A42BA4 #A4672B #2BA42B #2B67A4
split-complementary
#A42BA4 #67A42B #2BA467
monochromatic
#431243 #741E74 #A42BA4 #CD3FCD #D970D9

Accessibility & contrast

On white

6.07
#A42BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A42BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BA4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BA4#FFFFFF#000000##FFFFFF
##A42BA41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#A93E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ba4;
/* rgb */ color: rgb(164, 43, 164);
/* oklch */ color: oklch(52.4% 0.205 328.0);
Tailwind
colors: {
  custom: {
    50: '#c371bf',
    500: '#a42ba4',
    950: '#000000',
  },
}
SCSS
$custom: #a42ba4;
$custom-light: #c371bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ba4",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.20504,
    "h": 328
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#A42BA4
secondary
#6AC16A
accent
#E24646
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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