#A942CF#A942CF

#A942CF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.217 H 315.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A942CF
RGBrgb(169, 66, 207)
HSLhsl(284, 59%, 54%)
HSVhsv(284, 68%, 81%)
CMYKcmyk(18.4%, 68.1%, 0%, 18.8%)
CIE-LABlab(48.05, 62.70, -54.18)
CIE-LCHlch(48.05, 82.87, 319.17°)
OKLaboklab(57.97% 0.1548 -0.1524)
OKLCHoklch(57.97% 0.217 315.4)
XYZxyz(29.5711, 16.8375, 60.7117)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942CF #68CF42
analogous
#6242CF #A942CF #CF42AE
triadic
#A942CF #CFA942 #42CFA9
tetradic
#A942CF #CF6242 #68CF42 #42AECF
square
#A942CF #CF6242 #68CF42 #42AECF
split-complementary
#A942CF #AECF42 #42CF62
monochromatic
#601F78 #872BA9 #A942CF #BF73DB #D5A4E8

Accessibility & contrast

On white

4.81
#A942CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A942CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942CF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942CF#FFFFFF#000000##FFFFFF
##A942CF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#A65E84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a942cf;
/* rgb */ color: rgb(169, 66, 207);
/* oklch */ color: oklch(58.0% 0.217 315.4);
Tailwind
colors: {
  custom: {
    50: '#c67ede',
    500: '#a942cf',
    950: '#000000',
  },
}
SCSS
$custom: #a942cf;
$custom-light: #c67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a942cf",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 283.83,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.21719,
    "h": 315.4
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#A942CF
secondary
#A8D598
accent
#E34570
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A942CF

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

Preview Lab → · Contrast checker → · Palette generator →

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