#A42BA0#A42BA0

#A42BA0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.202 H 329.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A42BA0
RGBrgb(164, 43, 160)
HSLhsl(302, 58%, 41%)
HSVhsv(302, 74%, 64%)
CMYKcmyk(0%, 73.8%, 2.4%, 35.7%)
CIE-LABlab(41.47, 61.68, -37.15)
CIE-LCHlch(41.47, 72.00, 328.94°)
OKLaboklab(52.21% 0.1739 -0.1027)
OKLCHoklch(52.21% 0.202 329.4)
XYZxyz(22.5187, 12.1600, 34.4120)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BA0 #2BA42F
analogous
#6B2BA4 #A42BA0 #A42B64
triadic
#A42BA0 #A0A42B #2BA0A4
tetradic
#A42BA0 #A46B2B #2BA42F #2B64A4
square
#A42BA0 #A46B2B #2BA42F #2B64A4
split-complementary
#A42BA0 #64A42B #2BA46B
monochromatic
#431241 #741E71 #A42BA0 #CD3FC8 #D970D6

Accessibility & contrast

On white

6.12
#A42BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A42BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BA0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BA0#FFFFFF#000000##FFFFFF
##A42BA01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#AA3C63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ba0;
/* rgb */ color: rgb(164, 43, 160);
/* oklch */ color: oklch(52.2% 0.202 329.4);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a42ba0',
    950: '#000000',
  },
}
SCSS
$custom: #a42ba0;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ba0",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 301.983,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.20195,
    "h": 329.4
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#A42BA0
secondary
#6AC16D
accent
#E24B46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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