#A140BB#A140BB

#A140BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.198 H 318.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A140BB
RGBrgb(161, 64, 187)
HSLhsl(287, 49%, 49%)
HSVhsv(287, 66%, 73%)
CMYKcmyk(13.9%, 65.8%, 0%, 26.7%)
CIE-LABlab(45.40, 57.81, -46.90)
CIE-LCHlch(45.40, 74.44, 320.95°)
OKLaboklab(55.44% 0.1482 -0.1313)
OKLCHoklch(55.44% 0.198 318.5)
XYZxyz(25.4998, 14.8328, 48.5239)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140BB #5ABB40
analogous
#6440BB #A140BB #BB4098
triadic
#A140BB #BBA140 #40BBA1
tetradic
#A140BB #BB6440 #5ABB40 #4098BB
square
#A140BB #BB6440 #5ABB40 #4098BB
split-complementary
#A140BB #98BB40 #40BB64
monochromatic
#522160 #7A308D #A140BB #B86CCD #CE99DC

Accessibility & contrast

On white

5.29
#A140BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A140BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140BB#FFFFFF#000000##FFFFFF
##A140BB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#A15678
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a140bb;
/* rgb */ color: rgb(161, 64, 187);
/* oklch */ color: oklch(55.4% 0.198 318.5);
Tailwind
colors: {
  custom: {
    50: '#c07cd0',
    500: '#a140bb',
    950: '#000000',
  },
}
SCSS
$custom: #a140bb;
$custom-light: #c07cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a140bb",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 287.317,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.19796,
    "h": 318.5
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#A140BB
secondary
#9BC88F
accent
#D94F6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A140BB

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

Preview Lab → · Contrast checker → · Palette generator →

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