#A040BE#A040BE

#A040BE is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.5% C 0.200 H 317.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A040BE
RGBrgb(160, 64, 190)
HSLhsl(286, 50%, 50%)
HSVhsv(286, 66%, 75%)
CMYKcmyk(15.8%, 66.3%, 0%, 25.5%)
CIE-LABlab(45.44, 58.17, -48.60)
CIE-LCHlch(45.44, 75.80, 320.12°)
OKLaboklab(55.49% 0.1469 -0.1363)
OKLCHoklch(55.49% 0.2 317.1)
XYZxyz(25.6235, 14.8591, 50.2236)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A040BE #5EBE40
analogous
#6140BE #A040BE #BE409D
triadic
#A040BE #BEA040 #40BEA0
tetradic
#A040BE #BE6140 #5EBE40 #409DBE
square
#A040BE #BE6140 #5EBE40 #409DBE
split-complementary
#A040BE #9DBE40 #40BE61
monochromatic
#532162 #793190 #A040BE #B76DCE #CE9BDD

Accessibility & contrast

On white

5.29
#A040BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A040BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A040BE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A040BE#FFFFFF#000000##FFFFFF
##A040BE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C2
Deuteranopia (green-blind)
#436EBB
Tritanopia (blue-blind)
#9F577A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a040be;
/* rgb */ color: rgb(160, 64, 190);
/* oklch */ color: oklch(55.5% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#c07cd2',
    500: '#a040be',
    950: '#000000',
  },
}
SCSS
$custom: #a040be;
$custom-light: #c07cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a040be",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 285.714,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.20036,
    "h": 317.1
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#A040BE
secondary
#9EC990
accent
#D94F70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A040BE

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

Preview Lab → · Contrast checker → · Palette generator →

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