#A42BB6#A42BB6

#A42BB6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.219 H 322.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A42BB6
RGBrgb(164, 43, 182)
HSLhsl(292, 62%, 44%)
HSVhsv(292, 76%, 71%)
CMYKcmyk(9.9%, 76.4%, 0%, 28.6%)
CIE-LABlab(42.76, 65.43, -48.17)
CIE-LCHlch(42.76, 81.25, 323.64°)
OKLaboklab(53.54% 0.1731 -0.1348)
OKLCHoklch(53.54% 0.219 322.1)
XYZxyz(24.6163, 12.9991, 45.4594)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BB6 #3DB62B
analogous
#5F2BB6 #A42BB6 #B62B83
triadic
#A42BB6 #B6A42B #2BB6A4
tetradic
#A42BB6 #B65F2B #3DB62B #2B83B6
square
#A42BB6 #B65F2B #3DB62B #2B83B6
split-complementary
#A42BB6 #83B62B #2BB65F
monochromatic
#4B1453 #771F84 #A42BB6 #C24AD4 #D37BE0

Accessibility & contrast

On white

5.83
#A42BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A42BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BB6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BB6#FFFFFF#000000##FFFFFF
##A42BB61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#4069B3
Tritanopia (blue-blind)
#A64770
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42bb6;
/* rgb */ color: rgb(164, 43, 182);
/* oklch */ color: oklch(53.5% 0.219 322.1);
Tailwind
colors: {
  custom: {
    50: '#c372cc',
    500: '#a42bb6',
    950: '#000000',
  },
}
SCSS
$custom: #a42bb6;
$custom-light: #c372cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bb6",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 292.23,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.21934,
    "h": 322.1
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#A42BB6
secondary
#7FC875
accent
#E54358
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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