#A940CF#A940CF

#A940CF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.220 H 315.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A940CF
RGBrgb(169, 64, 207)
HSLhsl(284, 60%, 53%)
HSVhsv(284, 69%, 81%)
CMYKcmyk(18.4%, 69.1%, 0%, 18.8%)
CIE-LABlab(47.76, 63.53, -54.64)
CIE-LCHlch(47.76, 83.80, 319.30°)
OKLaboklab(57.76% 0.1569 -0.1537)
OKLCHoklch(57.76% 0.22 315.6)
XYZxyz(29.4563, 16.6079, 60.6734)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940CF #66CF40
analogous
#6140CF #A940CF #CF40AD
triadic
#A940CF #CFA940 #40CFA9
tetradic
#A940CF #CF6140 #66CF40 #40ADCF
square
#A940CF #CF6140 #66CF40 #40ADCF
split-complementary
#A940CF #ADCF40 #40CF61
monochromatic
#5F1E77 #862AA8 #A940CF #BF71DB #D5A2E8

Accessibility & contrast

On white

4.86
#A940CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A940CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940CF#FFFFFF#000000##FFFFFF
##A940CF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#A65D83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a940cf;
/* rgb */ color: rgb(169, 64, 207);
/* oklch */ color: oklch(57.8% 0.220 315.6);
Tailwind
colors: {
  custom: {
    50: '#c77dde',
    500: '#a940cf',
    950: '#000000',
  },
}
SCSS
$custom: #a940cf;
$custom-light: #c77dde;
$custom-dark: #000000;
JSON
{
  "hex": "#a940cf",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 284.056,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.21963,
    "h": 315.6
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#A940CF
secondary
#A7D497
accent
#E3456F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A940CF

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

Preview Lab → · Contrast checker → · Palette generator →

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