#A42EAF#A42EAF

#A42EAF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.211 H 324.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A42EAF
RGBrgb(164, 46, 175)
HSLhsl(295, 58%, 43%)
HSVhsv(295, 74%, 69%)
CMYKcmyk(6.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(42.68, 63.21, -44.17)
CIE-LCHlch(42.68, 77.12, 325.06°)
OKLaboklab(53.35% 0.1709 -0.1231)
OKLCHoklch(53.35% 0.211 324.2)
XYZxyz(24.0240, 12.9432, 41.7820)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EAF #39AF2E
analogous
#632EAF #A42EAF #AF2E79
triadic
#A42EAF #AFA42E #2EAFA4
tetradic
#A42EAF #AF632E #39AF2E #2E79AF
square
#A42EAF #AF632E #39AF2E #2E79AF
split-complementary
#A42EAF #79AF2E #2EAF63
monochromatic
#49154E #77217F #A42EAF #C44BD0 #D47BDC

Accessibility & contrast

On white

5.85
#A42EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A42EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EAF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EAF#FFFFFF#000000##FFFFFF
##A42EAF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4769AC
Tritanopia (blue-blind)
#A7456C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42eaf;
/* rgb */ color: rgb(164, 46, 175);
/* oklch */ color: oklch(53.3% 0.211 324.2);
Tailwind
colors: {
  custom: {
    50: '#c373c7',
    500: '#a42eaf',
    950: '#000000',
  },
}
SCSS
$custom: #a42eaf;
$custom-light: #c373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eaf",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 294.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.21059,
    "h": 324.2
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#A42EAF
secondary
#7BC574
accent
#E24653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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