#A942D8#A942D8

#A942D8 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.226 H 313.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A942D8
RGBrgb(169, 66, 216)
HSLhsl(281, 66%, 55%)
HSVhsv(281, 69%, 85%)
CMYKcmyk(21.8%, 69.4%, 0%, 15.3%)
CIE-LABlab(48.62, 64.52, -58.41)
CIE-LCHlch(48.62, 87.04, 317.84°)
OKLaboklab(58.55% 0.154 -0.1648)
OKLCHoklch(58.55% 0.226 313.1)
XYZxyz(30.7029, 17.2902, 66.6724)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942D8 #71D842
analogous
#5E42D8 #A942D8 #D842BC
triadic
#A942D8 #D8A942 #42D8A9
tetradic
#A942D8 #D85E42 #71D842 #42BCD8
square
#A942D8 #D85E42 #71D842 #42BCD8
split-complementary
#A942D8 #BCD842 #42D85E
monochromatic
#631B84 #8A26B7 #A942D8 #C075E2 #D7A7ED

Accessibility & contrast

On white

4.71
#A942D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A942D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942D8#FFFFFF#000000##FFFFFF
##A942D81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#A46289
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a942d8;
/* rgb */ color: rgb(169, 66, 216);
/* oklch */ color: oklch(58.6% 0.226 313.1);
Tailwind
colors: {
  custom: {
    50: '#c77fe5',
    500: '#a942d8',
    950: '#000000',
  },
}
SCSS
$custom: #a942d8;
$custom-light: #c77fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#a942d8",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 281.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.22555,
    "h": 313.1
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#A942D8
secondary
#AFDA9C
accent
#E93F74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A942D8

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

Preview Lab → · Contrast checker → · Palette generator →

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