#A140B7#A140B7

#A140B7 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.194 H 319.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A140B7
RGBrgb(161, 64, 183)
HSLhsl(289, 48%, 48%)
HSVhsv(289, 65%, 72%)
CMYKcmyk(12%, 65%, 0%, 28.2%)
CIE-LABlab(45.17, 57.02, -44.93)
CIE-LCHlch(45.17, 72.60, 321.77°)
OKLaboklab(55.2% 0.1482 -0.1255)
OKLCHoklch(55.2% 0.194 319.7)
XYZxyz(25.0775, 14.6639, 46.3000)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140B7 #56B740
analogous
#6640B7 #A140B7 #B74091
triadic
#A140B7 #B7A140 #40B7A1
tetradic
#A140B7 #B76640 #56B740 #4091B7
square
#A140B7 #B76640 #56B740 #4091B7
split-complementary
#A140B7 #91B740 #40B766
monochromatic
#51205C #79308A #A140B7 #B969CB #CE97DB

Accessibility & contrast

On white

5.34
#A140B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A140B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140B7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140B7#FFFFFF#000000##FFFFFF
##A140B71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BB
Deuteranopia (green-blind)
#496EB4
Tritanopia (blue-blind)
#A25476
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a140b7;
/* rgb */ color: rgb(161, 64, 183);
/* oklch */ color: oklch(55.2% 0.194 319.7);
Tailwind
colors: {
  custom: {
    50: '#c07ccd',
    500: '#a140b7',
    950: '#000000',
  },
}
SCSS
$custom: #a140b7;
$custom-light: #c07ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#a140b7",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 288.908,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.19425,
    "h": 319.7
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#A140B7
secondary
#97C68D
accent
#D85069
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A140B7

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

Preview Lab → · Contrast checker → · Palette generator →

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