#A140BC#A140BC

#A140BC is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.199 H 318.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A140BC
RGBrgb(161, 64, 188)
HSLhsl(287, 49%, 49%)
HSVhsv(287, 66%, 74%)
CMYKcmyk(14.4%, 66%, 0%, 26.3%)
CIE-LABlab(45.46, 58.00, -47.39)
CIE-LCHlch(45.46, 74.90, 320.75°)
OKLaboklab(55.5% 0.1481 -0.1327)
OKLCHoklch(55.5% 0.199 318.1)
XYZxyz(25.6072, 14.8758, 49.0897)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140BC #5BBC40
analogous
#6340BC #A140BC #BC4099
triadic
#A140BC #BCA140 #40BCA1
tetradic
#A140BC #BC6340 #5BBC40 #4099BC
square
#A140BC #BC6340 #5BBC40 #4099BC
split-complementary
#A140BC #99BC40 #40BC63
monochromatic
#532161 #7A308E #A140BC #B86CCD #CE9ADD

Accessibility & contrast

On white

5.28
#A140BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A140BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140BC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140BC#FFFFFF#000000##FFFFFF
##A140BC1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#A05679
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a140bc;
/* rgb */ color: rgb(161, 64, 188);
/* oklch */ color: oklch(55.5% 0.199 318.1);
Tailwind
colors: {
  custom: {
    50: '#c07cd1',
    500: '#a140bc',
    950: '#000000',
  },
}
SCSS
$custom: #a140bc;
$custom-light: #c07cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a140bc",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 286.935,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55501,
    "c": 0.1989,
    "h": 318.1
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#A140BC
secondary
#9CC98F
accent
#D94F6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A140BC

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

Preview Lab → · Contrast checker → · Palette generator →

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