#A140DB#A140DB

#A140DB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.228 H 309.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A140DB
RGBrgb(161, 64, 219)
HSLhsl(278, 68%, 55%)
HSVhsv(278, 71%, 86%)
CMYKcmyk(26.5%, 70.8%, 0%, 14.1%)
CIE-LABlab(47.44, 64.36, -62.09)
CIE-LCHlch(47.44, 89.43, 316.03°)
OKLaboklab(57.55% 0.1455 -0.1758)
OKLCHoklch(57.55% 0.228 309.6)
XYZxyz(29.3150, 16.3589, 68.6174)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140DB #7ADB40
analogous
#5340DB #A140DB #DB40C8
triadic
#A140DB #DBA140 #40DBA1
tetradic
#A140DB #DB5340 #7ADB40 #40C8DB
square
#A140DB #DB5340 #7ADB40 #40C8DB
split-complementary
#A140DB #C8DB40 #40DB53
monochromatic
#5E1987 #8223BB #A140DB #BA73E5 #D4A7EE

Accessibility & contrast

On white

4.92
#A140DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A140DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140DB#FFFFFF#000000##FFFFFF
##A140DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#99638A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a140db;
/* rgb */ color: rgb(161, 64, 219);
/* oklch */ color: oklch(57.5% 0.228 309.6);
Tailwind
colors: {
  custom: {
    50: '#c27de7',
    500: '#a140db',
    950: '#000000',
  },
}
SCSS
$custom: #a140db;
$custom-light: #c27de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a140db",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 277.548,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57547,
    "c": 0.22824,
    "h": 309.6
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#A140DB
secondary
#B3DC9B
accent
#EB3D7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A140DB

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

Preview Lab → · Contrast checker → · Palette generator →

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