#A42BB1#A42BB1

#A42BB1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.215 H 323.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A42BB1
RGBrgb(164, 43, 177)
HSLhsl(294, 61%, 43%)
HSVhsv(294, 76%, 69%)
CMYKcmyk(7.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(42.45, 64.55, -45.71)
CIE-LCHlch(42.45, 79.09, 324.70°)
OKLaboklab(53.23% 0.1734 -0.1276)
OKLCHoklch(53.23% 0.215 323.7)
XYZxyz(24.1088, 12.7961, 42.7865)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BB1 #38B12B
analogous
#612BB1 #A42BB1 #B12B7B
triadic
#A42BB1 #B1A42B #2BB1A4
tetradic
#A42BB1 #B1612B #38B12B #2B7BB1
square
#A42BB1 #B1612B #38B12B #2B7BB1
split-complementary
#A42BB1 #7BB12B #2BB161
monochromatic
#49134F #761F80 #A42BB1 #C547D2 #D478DE

Accessibility & contrast

On white

5.90
#A42BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A42BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BB1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BB1#FFFFFF#000000##FFFFFF
##A42BB11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#A7446D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42bb1;
/* rgb */ color: rgb(164, 43, 177);
/* oklch */ color: oklch(53.2% 0.215 323.7);
Tailwind
colors: {
  custom: {
    50: '#c372c9',
    500: '#a42bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a42bb1;
$custom-light: #c372c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bb1",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 294.179,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.21532,
    "h": 323.7
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#A42BB1
secondary
#7AC672
accent
#E44453
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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