#A42AC3#A42AC3

#A42AC3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.231 H 318.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A42AC3
RGBrgb(164, 42, 195)
HSLhsl(288, 65%, 46%)
HSVhsv(288, 78%, 76%)
CMYKcmyk(15.9%, 78.5%, 0%, 23.5%)
CIE-LABlab(43.49, 68.09, -54.61)
CIE-LCHlch(43.49, 87.28, 321.27°)
OKLaboklab(54.33% 0.1724 -0.1536)
OKLCHoklch(54.33% 0.231 318.3)
XYZxyz(25.9868, 13.4898, 52.8541)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AC3 #49C32A
analogous
#582AC3 #A42AC3 #C32A96
triadic
#A42AC3 #C3A42A #2AC3A4
tetradic
#A42AC3 #C3582A #49C32A #2A96C3
square
#A42AC3 #C3582A #49C32A #2A96C3
split-complementary
#A42AC3 #96C32A #2AC358
monochromatic
#4F145E #7A1F91 #A42AC3 #BE51D9 #D183E4

Accessibility & contrast

On white

5.68
#A42AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A42AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AC3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AC3#FFFFFF#000000##FFFFFF
##A42AC31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#A34C77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a42ac3;
/* rgb */ color: rgb(164, 42, 195);
/* oklch */ color: oklch(54.3% 0.231 318.3);
Tailwind
colors: {
  custom: {
    50: '#c372d6',
    500: '#a42ac3',
    950: '#000000',
  },
}
SCSS
$custom: #a42ac3;
$custom-light: #c372d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ac3",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 287.843,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.23089,
    "h": 318.3
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#A42AC3
secondary
#8CCD7B
accent
#E84062
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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