#A940BE#A940BE

#A940BE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.204 H 320.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A940BE
RGBrgb(169, 64, 190)
HSLhsl(290, 50%, 50%)
HSVhsv(290, 66%, 75%)
CMYKcmyk(11.1%, 66.3%, 0%, 25.5%)
CIE-LABlab(46.74, 60.23, -46.45)
CIE-LCHlch(46.74, 76.06, 322.36°)
OKLaboklab(56.69% 0.1577 -0.1298)
OKLCHoklch(56.69% 0.204 320.5)
XYZxyz(27.4887, 15.8209, 50.3110)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940BE #55BE40
analogous
#6A40BE #A940BE #BE4094
triadic
#A940BE #BEA940 #40BEA9
tetradic
#A940BE #BE6A40 #55BE40 #4094BE
square
#A940BE #BE6A40 #55BE40 #4094BE
split-complementary
#A940BE #94BE40 #40BE6A
monochromatic
#582162 #803190 #A940BE #BE6DCE #D29BDD

Accessibility & contrast

On white

5.04
#A940BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A940BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940BE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940BE#FFFFFF#000000##FFFFFF
##A940BE1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#4C73BB
Tritanopia (blue-blind)
#AA567A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a940be;
/* rgb */ color: rgb(169, 64, 190);
/* oklch */ color: oklch(56.7% 0.204 320.5);
Tailwind
colors: {
  custom: {
    50: '#c67dd2',
    500: '#a940be',
    950: '#000000',
  },
}
SCSS
$custom: #a940be;
$custom-light: #c67dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a940be",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 290,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.20421,
    "h": 320.5
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#A940BE
secondary
#9AC990
accent
#D94F66
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A940BE

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

Preview Lab → · Contrast checker → · Palette generator →

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