#A140D2#A140D2

#A140D2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.220 H 311.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A140D2
RGBrgb(161, 64, 210)
HSLhsl(280, 62%, 54%)
HSVhsv(280, 70%, 82%)
CMYKcmyk(23.3%, 69.5%, 0%, 17.6%)
CIE-LABlab(46.84, 62.47, -57.91)
CIE-LCHlch(46.84, 85.18, 317.17°)
OKLaboklab(56.93% 0.1466 -0.1636)
OKLCHoklch(56.93% 0.22 311.9)
XYZxyz(28.1621, 15.8977, 62.5453)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140D2 #71D240
analogous
#5840D2 #A140D2 #D240BA
triadic
#A140D2 #D2A140 #40D2A1
tetradic
#A140D2 #D25840 #71D240 #40BAD2
square
#A140D2 #D25840 #71D240 #40BAD2
split-complementary
#A140D2 #BAD240 #40D258
monochromatic
#5B1D7B #8029AC #A140D2 #B972DE #D2A3E9

Accessibility & contrast

On white

5.02
#A140D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A140D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140D2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140D2#FFFFFF#000000##FFFFFF
##A140D21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#9B5F85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a140d2;
/* rgb */ color: rgb(161, 64, 210);
/* oklch */ color: oklch(56.9% 0.220 311.9);
Tailwind
colors: {
  custom: {
    50: '#c17de1',
    500: '#a140d2',
    950: '#000000',
  },
}
SCSS
$custom: #a140d2;
$custom-light: #c17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#a140d2",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 279.863,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.21967,
    "h": 311.9
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#A140D2
secondary
#ADD698
accent
#E54379
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140D2

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

Preview Lab → · Contrast checker → · Palette generator →

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