#A42BAA#A42BAA

#A42BAA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.210 H 326.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A42BAA
RGBrgb(164, 43, 170)
HSLhsl(297, 60%, 42%)
HSVhsv(297, 75%, 67%)
CMYKcmyk(3.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(42.04, 63.34, -42.22)
CIE-LCHlch(42.04, 76.12, 326.31°)
OKLaboklab(52.8% 0.1738 -0.1174)
OKLCHoklch(52.8% 0.21 326)
XYZxyz(23.4289, 12.5241, 39.2058)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BAA #31AA2B
analogous
#642BAA #A42BAA #AA2B71
triadic
#A42BAA #AAA42B #2BAAA4
tetradic
#A42BAA #AA642B #31AA2B #2B71AA
square
#A42BAA #AA642B #31AA2B #2B71AA
split-complementary
#A42BAA #71AA2B #2BAA64
monochromatic
#461248 #751F79 #A42BAA #C943CF #D774DC

Accessibility & contrast

On white

5.99
#A42BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42BAA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BAA#FFFFFF#000000##FFFFFF
##A42BAA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A84169
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42baa;
/* rgb */ color: rgb(164, 43, 170);
/* oklch */ color: oklch(52.8% 0.210 326.0);
Tailwind
colors: {
  custom: {
    50: '#c372c4',
    500: '#a42baa',
    950: '#000000',
  },
}
SCSS
$custom: #a42baa;
$custom-light: #c372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42baa",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 297.165,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.20974,
    "h": 326
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#A42BAA
secondary
#72C36E
accent
#E3454C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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