#A42CDF#A42CDF

#A42CDF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.5% C 0.253 H 311.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A42CDF
RGBrgb(164, 44, 223)
HSLhsl(280, 74%, 52%)
HSVhsv(280, 80%, 87%)
CMYKcmyk(26.5%, 80.3%, 0%, 12.5%)
CIE-LABlab(45.66, 72.84, -67.23)
CIE-LCHlch(45.66, 99.12, 317.29°)
OKLaboklab(56.47% 0.1656 -0.1907)
OKLCHoklch(56.47% 0.253 311)
XYZxyz(29.5272, 15.0223, 71.1419)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CDF #67DF2C
analogous
#4A2CDF #A42CDF #DF2CC1
triadic
#A42CDF #DFA42C #2CDFA4
tetradic
#A42CDF #DF4A2C #67DF2C #2CC1DF
square
#A42CDF #DF4A2C #67DF2C #2CC1DF
split-complementary
#A42CDF #C1DF2C #2CDF4A
monochromatic
#5A137E #811BB3 #A42CDF #BB61E7 #D296EF

Accessibility & contrast

On white

5.24
#A42CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A42CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CDF#FFFFFF#000000##FFFFFF
##A42CDF1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#9C5A87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a42cdf;
/* rgb */ color: rgb(164, 44, 223);
/* oklch */ color: oklch(56.5% 0.253 311.0);
Tailwind
colors: {
  custom: {
    50: '#c574ea',
    500: '#a42cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a42cdf;
$custom-light: #c574ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cdf",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 223
  },
  "hsl": {
    "h": 280.223,
    "s": 73.663,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.25255,
    "h": 311
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#A42CDF
secondary
#A6DA8C
accent
#F03774
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84

Preview Lab

Preview with #A42CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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