#A942DB#A942DB

#A942DB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.228 H 312.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A942DB
RGBrgb(169, 66, 219)
HSLhsl(280, 68%, 56%)
HSVhsv(280, 70%, 86%)
CMYKcmyk(22.8%, 69.9%, 0%, 14.1%)
CIE-LABlab(48.82, 65.13, -59.81)
CIE-LCHlch(48.82, 88.43, 317.44°)
OKLaboklab(58.75% 0.1537 -0.1689)
OKLCHoklch(58.75% 0.228 312.3)
XYZxyz(31.0943, 17.4468, 68.7337)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942DB #74DB42
analogous
#5C42DB #A942DB #DB42C0
triadic
#A942DB #DBA942 #42DBA9
tetradic
#A942DB #DB5C42 #74DB42 #42C0DB
square
#A942DB #DB5C42 #74DB42 #42C0DB
split-complementary
#A942DB #C0DB42 #42DB5C
monochromatic
#641A89 #8A24BC #A942DB #C075E5 #D8A9EF

Accessibility & contrast

On white

4.68
#A942DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A942DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942DB#FFFFFF#000000##FFFFFF
##A942DB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#A3638A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a942db;
/* rgb */ color: rgb(169, 66, 219);
/* oklch */ color: oklch(58.8% 0.228 312.3);
Tailwind
colors: {
  custom: {
    50: '#c77fe7',
    500: '#a942db',
    950: '#000000',
  },
}
SCSS
$custom: #a942db;
$custom-light: #c77fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a942db",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 280.392,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.22836,
    "h": 312.3
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#A942DB
secondary
#B1DC9D
accent
#EB3D76
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A942DB

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

Preview Lab → · Contrast checker → · Palette generator →

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