#A940BF#A940BF

#A940BF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.205 H 320.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A940BF
RGBrgb(169, 64, 191)
HSLhsl(290, 50%, 50%)
HSVhsv(290, 66%, 75%)
CMYKcmyk(11.5%, 66.5%, 0%, 25.1%)
CIE-LABlab(46.80, 60.42, -46.94)
CIE-LCHlch(46.80, 76.51, 322.16°)
OKLaboklab(56.75% 0.1577 -0.1312)
OKLCHoklch(56.75% 0.205 320.2)
XYZxyz(27.5984, 15.8647, 50.8886)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940BF #56BF40
analogous
#6940BF #A940BF #BF4096
triadic
#A940BF #BFA940 #40BFA9
tetradic
#A940BF #BF6940 #56BF40 #4096BF
square
#A940BF #BF6940 #56BF40 #4096BF
split-complementary
#A940BF #96BF40 #40BF69
monochromatic
#582163 #803191 #A940BF #BE6ECE #D29CDE

Accessibility & contrast

On white

5.03
#A940BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A940BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940BF#FFFFFF#000000##FFFFFF
##A940BF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#AA567A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a940bf;
/* rgb */ color: rgb(169, 64, 191);
/* oklch */ color: oklch(56.8% 0.205 320.2);
Tailwind
colors: {
  custom: {
    50: '#c67dd3',
    500: '#a940bf',
    950: '#000000',
  },
}
SCSS
$custom: #a940bf;
$custom-light: #c67dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a940bf",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 289.606,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.2051,
    "h": 320.2
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#A940BF
secondary
#9BCA91
accent
#D94E67
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A940BF

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

Preview Lab → · Contrast checker → · Palette generator →

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