#A942D7#A942D7

#A942D7 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.225 H 313.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A942D7
RGBrgb(169, 66, 215)
HSLhsl(281, 65%, 55%)
HSVhsv(281, 69%, 84%)
CMYKcmyk(21.4%, 69.3%, 0%, 15.7%)
CIE-LABlab(48.56, 64.32, -57.95)
CIE-LCHlch(48.56, 86.57, 317.98°)
OKLaboklab(58.49% 0.1541 -0.1634)
OKLCHoklch(58.49% 0.225 313.3)
XYZxyz(30.5740, 17.2387, 65.9936)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942D7 #70D742
analogous
#5F42D7 #A942D7 #D742BA
triadic
#A942D7 #D7A942 #42D7A9
tetradic
#A942D7 #D75F42 #70D742 #42BAD7
square
#A942D7 #D75F42 #70D742 #42BAD7
split-complementary
#A942D7 #BAD742 #42D75F
monochromatic
#631C83 #8926B5 #A942D7 #C075E2 #D7A7EC

Accessibility & contrast

On white

4.72
#A942D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A942D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942D7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942D7#FFFFFF#000000##FFFFFF
##A942D71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3776D4
Tritanopia (blue-blind)
#A46188
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a942d7;
/* rgb */ color: rgb(169, 66, 215);
/* oklch */ color: oklch(58.5% 0.225 313.3);
Tailwind
colors: {
  custom: {
    50: '#c77fe4',
    500: '#a942d7',
    950: '#000000',
  },
}
SCSS
$custom: #a942d7;
$custom-light: #c77fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#a942d7",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 281.477,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.22462,
    "h": 313.3
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#A942D7
secondary
#AEDA9B
accent
#E84074
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A942D7

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

Preview Lab → · Contrast checker → · Palette generator →

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