#A42EB0#A42EB0

#A42EB0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.211 H 323.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A42EB0
RGBrgb(164, 46, 176)
HSLhsl(294, 59%, 44%)
HSVhsv(294, 74%, 69%)
CMYKcmyk(6.8%, 73.9%, 0%, 31%)
CIE-LABlab(42.74, 63.39, -44.66)
CIE-LCHlch(42.74, 77.55, 324.83°)
OKLaboklab(53.41% 0.1708 -0.1246)
OKLCHoklch(53.41% 0.211 323.9)
XYZxyz(24.1226, 12.9826, 42.3012)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EB0 #3AB02E
analogous
#632EB0 #A42EB0 #B02E7B
triadic
#A42EB0 #B0A42E #2EB0A4
tetradic
#A42EB0 #B0632E #3AB02E #2E7BB0
square
#A42EB0 #B0632E #3AB02E #2E7BB0
split-complementary
#A42EB0 #7BB02E #2EB063
monochromatic
#4A154F #77217F #A42EB0 #C44BD0 #D47CDD

Accessibility & contrast

On white

5.84
#A42EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42EB0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EB0#FFFFFF#000000##FFFFFF
##A42EB01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#A7466D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42eb0;
/* rgb */ color: rgb(164, 46, 176);
/* oklch */ color: oklch(53.4% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#c373c8',
    500: '#a42eb0',
    950: '#000000',
  },
}
SCSS
$custom: #a42eb0;
$custom-light: #c373c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eb0",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 294.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.2114,
    "h": 323.9
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#A42EB0
secondary
#7CC575
accent
#E24654
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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