#A140D8#A140D8

#A140D8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.225 H 310.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A140D8
RGBrgb(161, 64, 216)
HSLhsl(278, 66%, 55%)
HSVhsv(278, 70%, 85%)
CMYKcmyk(25.5%, 70.4%, 0%, 15.3%)
CIE-LABlab(47.24, 63.73, -60.70)
CIE-LCHlch(47.24, 88.01, 316.39°)
OKLaboklab(57.34% 0.1459 -0.1718)
OKLCHoklch(57.34% 0.225 310.3)
XYZxyz(28.9236, 16.2024, 66.5561)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140D8 #77D840
analogous
#5540D8 #A140D8 #D840C3
triadic
#A140D8 #D8A140 #40D8A1
tetradic
#A140D8 #D85540 #77D840 #40C3D8
square
#A140D8 #D85540 #77D840 #40C3D8
split-complementary
#A140D8 #C3D840 #40D855
monochromatic
#5D1B83 #8125B6 #A140D8 #BA73E2 #D3A6ED

Accessibility & contrast

On white

4.95
#A140D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A140D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140D8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140D8#FFFFFF#000000##FFFFFF
##A140D81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#996288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a140d8;
/* rgb */ color: rgb(161, 64, 216);
/* oklch */ color: oklch(57.3% 0.225 310.3);
Tailwind
colors: {
  custom: {
    50: '#c17de5',
    500: '#a140d8',
    950: '#000000',
  },
}
SCSS
$custom: #a140d8;
$custom-light: #c17de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a140d8",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 278.289,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.22538,
    "h": 310.3
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#A140D8
secondary
#B1DA9A
accent
#E93F7C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A140D8

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

Preview Lab → · Contrast checker → · Palette generator →

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