#A140D3#A140D3

#A140D3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.0% C 0.221 H 311.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A140D3
RGBrgb(161, 64, 211)
HSLhsl(280, 63%, 54%)
HSVhsv(280, 70%, 83%)
CMYKcmyk(23.7%, 69.7%, 0%, 17.3%)
CIE-LABlab(46.91, 62.68, -58.38)
CIE-LCHlch(46.91, 85.65, 317.04°)
OKLaboklab(57% 0.1465 -0.1649)
OKLCHoklch(57% 0.221 311.6)
XYZxyz(28.2870, 15.9477, 63.2035)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140D3 #72D340
analogous
#5840D3 #A140D3 #D340BC
triadic
#A140D3 #D3A140 #40D3A1
tetradic
#A140D3 #D35840 #72D340 #40BCD3
square
#A140D3 #D35840 #72D340 #40BCD3
split-complementary
#A140D3 #BCD340 #40D358
monochromatic
#5C1D7C #8028AE #A140D3 #B972DE #D2A3EA

Accessibility & contrast

On white

5.01
#A140D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A140D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140D3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140D3#FFFFFF#000000##FFFFFF
##A140D31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#9B6085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a140d3;
/* rgb */ color: rgb(161, 64, 211);
/* oklch */ color: oklch(57.0% 0.221 311.6);
Tailwind
colors: {
  custom: {
    50: '#c17de1',
    500: '#a140d3',
    950: '#000000',
  },
}
SCSS
$custom: #a140d3;
$custom-light: #c17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#a140d3",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 279.592,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.22062,
    "h": 311.6
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#A140D3
secondary
#ADD798
accent
#E6427A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140D3

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

Preview Lab → · Contrast checker → · Palette generator →

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