#A940C4#A940C4

#A940C4 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.210 H 318.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A940C4
RGBrgb(169, 64, 196)
HSLhsl(288, 53%, 51%)
HSVhsv(288, 67%, 77%)
CMYKcmyk(13.8%, 67.3%, 0%, 23.1%)
CIE-LABlab(47.09, 61.38, -49.37)
CIE-LCHlch(47.09, 78.77, 321.19°)
OKLaboklab(57.06% 0.1575 -0.1383)
OKLCHoklch(57.06% 0.21 318.7)
XYZxyz(28.1581, 16.0886, 53.8360)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940C4 #5BC440
analogous
#6740C4 #A940C4 #C4409D
triadic
#A940C4 #C4A940 #40C4A9
tetradic
#A940C4 #C46740 #5BC440 #409DC4
square
#A940C4 #C46740 #5BC440 #409DC4
split-complementary
#A940C4 #9DC440 #40C467
monochromatic
#5A2069 #822F98 #A940C4 #BE6FD2 #D39EE1

Accessibility & contrast

On white

4.98
#A940C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A940C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940C4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940C4#FFFFFF#000000##FFFFFF
##A940C41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0469C8
Deuteranopia (green-blind)
#4873C1
Tritanopia (blue-blind)
#A9587D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a940c4;
/* rgb */ color: rgb(169, 64, 196);
/* oklch */ color: oklch(57.1% 0.210 318.7);
Tailwind
colors: {
  custom: {
    50: '#c67dd6',
    500: '#a940c4',
    950: '#000000',
  },
}
SCSS
$custom: #a940c4;
$custom-light: #c67dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a940c4",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 287.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.20962,
    "h": 318.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#A940C4
secondary
#9FCD93
accent
#DC4C69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A940C4

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

Preview Lab → · Contrast checker → · Palette generator →

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