#A442DC#A442DC

#A442DC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.228 H 310.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A442DC
RGBrgb(164, 66, 220)
HSLhsl(278, 69%, 56%)
HSVhsv(278, 70%, 86%)
CMYKcmyk(25.5%, 70%, 0%, 13.7%)
CIE-LABlab(48.21, 64.34, -61.40)
CIE-LCHlch(48.21, 88.94, 316.34°)
OKLaboklab(58.2% 0.1473 -0.1737)
OKLCHoklch(58.2% 0.228 310.3)
XYZxyz(30.1738, 16.9569, 69.3798)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A442DC #7ADC42
analogous
#5742DC #A442DC #DC42C7
triadic
#A442DC #DCA442 #42DCA4
tetradic
#A442DC #DC5742 #7ADC42 #42C7DC
square
#A442DC #DC5742 #7ADC42 #42C7DC
split-complementary
#A442DC #C7DC42 #42DC57
monochromatic
#611A8A #8523BE #A442DC #BD76E6 #D6A9EF

Accessibility & contrast

On white

4.78
#A442DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A442DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A442DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A442DC#FFFFFF#000000##FFFFFF
##A442DC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#9C648B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a442dc;
/* rgb */ color: rgb(164, 66, 220);
/* oklch */ color: oklch(58.2% 0.228 310.3);
Tailwind
colors: {
  custom: {
    50: '#c47ee8',
    500: '#a442dc',
    950: '#000000',
  },
}
SCSS
$custom: #a442dc;
$custom-light: #c47ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a442dc",
  "rgb": {
    "r": 164,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 278.182,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.22775,
    "h": 310.3
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#A442DC
secondary
#B4DD9D
accent
#EC3C7C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A442DC

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

Preview Lab → · Contrast checker → · Palette generator →

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