#A42AC9#A42AC9

#A42AC9 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.236 H 316.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A42AC9
RGBrgb(164, 42, 201)
HSLhsl(286, 65%, 48%)
HSVhsv(286, 79%, 79%)
CMYKcmyk(18.4%, 79.1%, 0%, 21.2%)
CIE-LABlab(43.90, 69.20, -57.45)
CIE-LCHlch(43.90, 89.94, 320.30°)
OKLaboklab(54.74% 0.1714 -0.162)
OKLCHoklch(54.74% 0.236 316.6)
XYZxyz(26.6788, 13.7666, 56.4989)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AC9 #4FC92A
analogous
#552AC9 #A42AC9 #C92A9E
triadic
#A42AC9 #C9A42A #2AC9A4
tetradic
#A42AC9 #C9552A #4FC92A #2A9EC9
square
#A42AC9 #C9552A #4FC92A #2A9EC9
split-complementary
#A42AC9 #9EC92A #2AC955
monochromatic
#511564 #7B1F96 #A42AC9 #BC55DB #D087E6

Accessibility & contrast

On white

5.60
#A42AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A42AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AC9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AC9#FFFFFF#000000##FFFFFF
##A42AC91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#2A6BC6
Tritanopia (blue-blind)
#A24F7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a42ac9;
/* rgb */ color: rgb(164, 42, 201);
/* oklch */ color: oklch(54.7% 0.236 316.6);
Tailwind
colors: {
  custom: {
    50: '#c473da',
    500: '#a42ac9',
    950: '#000000',
  },
}
SCSS
$custom: #a42ac9;
$custom-light: #c473da;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ac9",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 286.038,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.23583,
    "h": 316.6
  },
  "luminance": 0.13765
}

Semantic roles & 50–950 ramp

primary
#A42AC9
secondary
#92D07F
accent
#E83F67
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A42AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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