#A940BC#A940BC

#A940BC is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.202 H 321.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A940BC
RGBrgb(169, 64, 188)
HSLhsl(291, 49%, 49%)
HSVhsv(291, 66%, 74%)
CMYKcmyk(10.1%, 66%, 0%, 26.3%)
CIE-LABlab(46.62, 59.85, -45.47)
CIE-LCHlch(46.62, 75.16, 322.78°)
OKLaboklab(56.57% 0.1577 -0.1269)
OKLCHoklch(56.57% 0.202 321.2)
XYZxyz(27.2717, 15.7340, 49.1677)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940BC #53BC40
analogous
#6B40BC #A940BC #BC4091
triadic
#A940BC #BCA940 #40BCA9
tetradic
#A940BC #BC6B40 #53BC40 #4091BC
square
#A940BC #BC6B40 #53BC40 #4091BC
split-complementary
#A940BC #91BC40 #40BC6B
monochromatic
#572161 #80308E #A940BC #BE6CCD #D29ADD

Accessibility & contrast

On white

5.06
#A940BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A940BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940BC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940BC#FFFFFF#000000##FFFFFF
##A940BC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#4E72B9
Tritanopia (blue-blind)
#AA5579
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a940bc;
/* rgb */ color: rgb(169, 64, 188);
/* oklch */ color: oklch(56.6% 0.202 321.2);
Tailwind
colors: {
  custom: {
    50: '#c67dd1',
    500: '#a940bc',
    950: '#000000',
  },
}
SCSS
$custom: #a940bc;
$custom-light: #c67dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a940bc",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 290.806,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.20241,
    "h": 321.2
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#A940BC
secondary
#98C98F
accent
#D94F64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A940BC

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

Preview Lab → · Contrast checker → · Palette generator →

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