#A942DD#A942DD

#A942DD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.230 H 311.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A942DD
RGBrgb(169, 66, 221)
HSLhsl(280, 70%, 56%)
HSVhsv(280, 70%, 87%)
CMYKcmyk(23.5%, 70.1%, 0%, 13.3%)
CIE-LABlab(48.95, 65.54, -60.74)
CIE-LCHlch(48.95, 89.36, 317.18°)
OKLaboklab(58.89% 0.1535 -0.1716)
OKLCHoklch(58.89% 0.23 311.8)
XYZxyz(31.3591, 17.5527, 70.1287)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942DD #76DD42
analogous
#5C42DD #A942DD #DD42C4
triadic
#A942DD #DDA942 #42DDA9
tetradic
#A942DD #DD5C42 #76DD42 #42C4DD
square
#A942DD #DD5C42 #76DD42 #42C4DD
split-complementary
#A942DD #C4DD42 #42DD5C
monochromatic
#65198C #8B22BF #A942DD #C176E6 #D8AAF0

Accessibility & contrast

On white

4.66
#A942DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A942DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A942DD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942DD#FFFFFF#000000##FFFFFF
##A942DD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#A3648B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a942dd;
/* rgb */ color: rgb(169, 66, 221);
/* oklch */ color: oklch(58.9% 0.230 311.8);
Tailwind
colors: {
  custom: {
    50: '#c77fe8',
    500: '#a942dd',
    950: '#000000',
  },
}
SCSS
$custom: #a942dd;
$custom-light: #c77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#a942dd",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 279.871,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.23023,
    "h": 311.8
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#A942DD
secondary
#B3DD9D
accent
#EC3B77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A942DD

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

Preview Lab → · Contrast checker → · Palette generator →

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