#A940BB#A940BB

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

Color values

HEX#A940BB
RGBrgb(169, 64, 187)
HSLhsl(291, 49%, 49%)
HSVhsv(291, 66%, 73%)
CMYKcmyk(9.6%, 65.8%, 0%, 26.7%)
CIE-LABlab(46.57, 59.67, -44.98)
CIE-LCHlch(46.57, 74.72, 322.99°)
OKLaboklab(56.51% 0.1577 -0.1254)
OKLCHoklch(56.51% 0.202 321.5)
XYZxyz(27.1642, 15.6911, 48.6019)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940BB #52BB40
analogous
#6C40BB #A940BB #BB408F
triadic
#A940BB #BBA940 #40BBA9
tetradic
#A940BB #BB6C40 #52BB40 #408FBB
square
#A940BB #BB6C40 #52BB40 #408FBB
split-complementary
#A940BB #8FBB40 #40BB6C
monochromatic
#572160 #80308D #A940BB #BE6CCD #D299DC

Accessibility & contrast

On white

5.07
#A940BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A940BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940BB#FFFFFF#000000##FFFFFF
##A940BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#AB5578
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a940bb;
/* rgb */ color: rgb(169, 64, 187);
/* oklch */ color: oklch(56.5% 0.202 321.5);
Tailwind
colors: {
  custom: {
    50: '#c67dd0',
    500: '#a940bb',
    950: '#000000',
  },
}
SCSS
$custom: #a940bb;
$custom-light: #c67dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a940bb",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 291.22,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.20152,
    "h": 321.5
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#A940BB
secondary
#97C88F
accent
#D94F63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A940BB

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

Preview Lab → · Contrast checker → · Palette generator →

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