#A42DC9#A42DC9

#A42DC9 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 55.0% C 0.233 H 316.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A42DC9
RGBrgb(164, 45, 201)
HSLhsl(286, 63%, 48%)
HSVhsv(286, 78%, 79%)
CMYKcmyk(18.4%, 77.6%, 0%, 21.2%)
CIE-LABlab(44.22, 68.28, -56.93)
CIE-LCHlch(44.22, 88.90, 320.18°)
OKLaboklab(54.96% 0.1691 -0.1605)
OKLCHoklch(54.96% 0.233 316.5)
XYZxyz(26.7892, 13.9875, 56.5357)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DC9 #52C92D
analogous
#562DC9 #A42DC9 #C92DA0
triadic
#A42DC9 #C9A42D #2DC9A4
tetradic
#A42DC9 #C9562D #52C92D #2DA0C9
square
#A42DC9 #C9562D #52C92D #2DA0C9
split-complementary
#A42DC9 #A0C92D #2DC956
monochromatic
#521765 #7B2297 #A42DC9 #BB59DA #D08BE5

Accessibility & contrast

On white

5.53
#A42DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A42DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DC9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DC9#FFFFFF#000000##FFFFFF
##A42DC91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#2D6CC6
Tritanopia (blue-blind)
#A2517B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a42dc9;
/* rgb */ color: rgb(164, 45, 201);
/* oklch */ color: oklch(55.0% 0.233 316.5);
Tailwind
colors: {
  custom: {
    50: '#c474da',
    500: '#a42dc9',
    950: '#000000',
  },
}
SCSS
$custom: #a42dc9;
$custom-light: #c474da;
$custom-dark: #000000;
JSON
{
  "hex": "#a42dc9",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 285.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.2331,
    "h": 316.5
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#A42DC9
secondary
#95CF83
accent
#E64169
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A42DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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