#A42DD3#A42DD3

#A42DD3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.7% C 0.242 H 313.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A42DD3
RGBrgb(164, 45, 211)
HSLhsl(283, 65%, 50%)
HSVhsv(283, 79%, 83%)
CMYKcmyk(22.3%, 78.7%, 0%, 17.3%)
CIE-LABlab(44.90, 70.19, -61.59)
CIE-LCHlch(44.90, 93.38, 318.73°)
OKLaboklab(55.67% 0.1673 -0.1742)
OKLCHoklch(55.67% 0.242 313.9)
XYZxyz(28.0041, 14.4734, 62.9339)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DD3 #5CD32D
analogous
#512DD3 #A42DD3 #D32DAF
triadic
#A42DD3 #D3A42D #2DD3A4
tetradic
#A42DD3 #D3512D #5CD32D #2DAFD3
square
#A42DD3 #D3512D #5CD32D #2DAFD3
split-complementary
#A42DD3 #AFD32D #2DD351
monochromatic
#56176E #7D22A1 #A42DD3 #BA60DE #D092E8

Accessibility & contrast

On white

5.39
#A42DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A42DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DD3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DD3#FFFFFF#000000##FFFFFF
##A42DD31.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#9F5581
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a42dd3;
/* rgb */ color: rgb(164, 45, 211);
/* oklch */ color: oklch(55.7% 0.242 313.9);
Tailwind
colors: {
  custom: {
    50: '#c474e1',
    500: '#a42dd3',
    950: '#000000',
  },
}
SCSS
$custom: #a42dd3;
$custom-light: #c474e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42dd3",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 283.012,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.24153,
    "h": 313.9
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#A42DD3
secondary
#9ED389
accent
#E83F6F
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A42DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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