#A42BB3#A42BB3

#A42BB3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.217 H 323.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A42BB3
RGBrgb(164, 43, 179)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 70%)
CMYKcmyk(8.4%, 76%, 0%, 29.8%)
CIE-LABlab(42.58, 64.90, -46.69)
CIE-LCHlch(42.58, 79.95, 324.26°)
OKLaboklab(53.35% 0.1733 -0.1305)
OKLCHoklch(53.35% 0.217 323)
XYZxyz(24.3096, 12.8764, 43.8440)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BB3 #3AB32B
analogous
#602BB3 #A42BB3 #B32B7E
triadic
#A42BB3 #B3A42B #2BB3A4
tetradic
#A42BB3 #B3602B #3AB32B #2B7EB3
square
#A42BB3 #B3602B #3AB32B #2B7EB3
split-complementary
#A42BB3 #7EB32B #2BB360
monochromatic
#4A1350 #771F82 #A42BB3 #C448D3 #D479DF

Accessibility & contrast

On white

5.87
#A42BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A42BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BB3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BB3#FFFFFF#000000##FFFFFF
##A42BB31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#A6456E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42bb3;
/* rgb */ color: rgb(164, 43, 179);
/* oklch */ color: oklch(53.4% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#c372ca',
    500: '#a42bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a42bb3;
$custom-light: #c372ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bb3",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 293.382,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.21692,
    "h": 323
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#A42BB3
secondary
#7CC773
accent
#E44355
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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