#A42DAF#A42DAF

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

Color values

HEX#A42DAF
RGBrgb(164, 45, 175)
HSLhsl(295, 59%, 43%)
HSVhsv(295, 74%, 69%)
CMYKcmyk(6.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(42.56, 63.55, -44.35)
CIE-LCHlch(42.56, 77.50, 325.09°)
OKLaboklab(53.26% 0.1718 -0.1236)
OKLCHoklch(53.26% 0.212 324.3)
XYZxyz(23.9854, 12.8659, 41.7692)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DAF #38AF2D
analogous
#632DAF #A42DAF #AF2D79
triadic
#A42DAF #AFA42D #2DAFA4
tetradic
#A42DAF #AF632D #38AF2D #2D79AF
square
#A42DAF #AF632D #38AF2D #2D79AF
split-complementary
#A42DAF #79AF2D #2DAF63
monochromatic
#49144E #76207E #A42DAF #C549D0 #D47ADD

Accessibility & contrast

On white

5.88
#A42DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A42DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DAF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DAF#FFFFFF#000000##FFFFFF
##A42DAF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#A7446C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42daf;
/* rgb */ color: rgb(164, 45, 175);
/* oklch */ color: oklch(53.3% 0.212 324.3);
Tailwind
colors: {
  custom: {
    50: '#c373c7',
    500: '#a42daf',
    950: '#000000',
  },
}
SCSS
$custom: #a42daf;
$custom-light: #c373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42daf",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 294.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.21165,
    "h": 324.3
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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