#A140B9#A140B9

#A140B9 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.196 H 319.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A140B9
RGBrgb(161, 64, 185)
HSLhsl(288, 49%, 49%)
HSVhsv(288, 65%, 73%)
CMYKcmyk(13%, 65.4%, 0%, 27.5%)
CIE-LABlab(45.29, 57.41, -45.92)
CIE-LCHlch(45.29, 73.52, 321.35°)
OKLaboklab(55.32% 0.1482 -0.1284)
OKLCHoklch(55.32% 0.196 319.1)
XYZxyz(25.2871, 14.7478, 47.4041)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140B9 #58B940
analogous
#6540B9 #A140B9 #B94095
triadic
#A140B9 #B9A140 #40B9A1
tetradic
#A140B9 #B96540 #58B940 #4095B9
square
#A140B9 #B96540 #58B940 #4095B9
split-complementary
#A140B9 #95B940 #40B965
monochromatic
#52215E #79308C #A140B9 #B86BCC #CE98DB

Accessibility & contrast

On white

5.32
#A140B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A140B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140B9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140B9#FFFFFF#000000##FFFFFF
##A140B91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#486EB6
Tritanopia (blue-blind)
#A15577
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a140b9;
/* rgb */ color: rgb(161, 64, 185);
/* oklch */ color: oklch(55.3% 0.196 319.1);
Tailwind
colors: {
  custom: {
    50: '#c07cce',
    500: '#a140b9',
    950: '#000000',
  },
}
SCSS
$custom: #a140b9;
$custom-light: #c07cce;
$custom-dark: #000000;
JSON
{
  "hex": "#a140b9",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 288.099,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.19611,
    "h": 319.1
  },
  "luminance": 0.14747
}

Semantic roles & 50–950 ramp

primary
#A140B9
secondary
#99C78E
accent
#D8506B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A140B9

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

Preview Lab → · Contrast checker → · Palette generator →

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