#A040CE#A040CE

#A040CE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.216 H 312.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A040CE
RGBrgb(160, 64, 206)
HSLhsl(281, 59%, 53%)
HSVhsv(281, 69%, 81%)
CMYKcmyk(22.3%, 68.9%, 0%, 19.2%)
CIE-LABlab(46.44, 61.43, -56.26)
CIE-LCHlch(46.44, 83.30, 317.52°)
OKLaboklab(56.53% 0.1458 -0.1587)
OKLCHoklch(56.53% 0.216 312.6)
XYZxyz(27.4692, 15.5974, 59.9441)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A040CE #6ECE40
analogous
#5940CE #A040CE #CE40B5
triadic
#A040CE #CEA040 #40CEA0
tetradic
#A040CE #CE5940 #6ECE40 #40B5CE
square
#A040CE #CE5940 #6ECE40 #40B5CE
split-complementary
#A040CE #B5CE40 #40CE59
monochromatic
#591E75 #7E2BA6 #A040CE #B871DA #D0A1E7

Accessibility & contrast

On white

5.10
#A040CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A040CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A040CE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A040CE#FFFFFF#000000##FFFFFF
##A040CE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#9B5E82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a040ce;
/* rgb */ color: rgb(160, 64, 206);
/* oklch */ color: oklch(56.5% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#c07cde',
    500: '#a040ce',
    950: '#000000',
  },
}
SCSS
$custom: #a040ce;
$custom-light: #c07cde;
$custom-dark: #000000;
JSON
{
  "hex": "#a040ce",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 280.563,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.21552,
    "h": 312.6
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#A040CE
secondary
#AAD496
accent
#E24578
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A040CE

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

Preview Lab → · Contrast checker → · Palette generator →

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