#A140BF#A140BF

#A140BF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.7% C 0.202 H 317.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A140BF
RGBrgb(161, 64, 191)
HSLhsl(286, 50%, 50%)
HSVhsv(286, 66%, 75%)
CMYKcmyk(15.7%, 66.5%, 0%, 25.1%)
CIE-LABlab(45.64, 58.60, -48.85)
CIE-LCHlch(45.64, 76.29, 320.18°)
OKLaboklab(55.69% 0.148 -0.137)
OKLCHoklch(55.69% 0.202 317.2)
XYZxyz(25.9339, 15.0065, 50.8106)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140BF #5EBF40
analogous
#6240BF #A140BF #BF409D
triadic
#A140BF #BFA140 #40BFA1
tetradic
#A140BF #BF6240 #5EBF40 #409DBF
square
#A140BF #BF6240 #5EBF40 #409DBF
split-complementary
#A140BF #9DBF40 #40BF62
monochromatic
#542163 #7A3191 #A140BF #B86ECE #CE9CDE

Accessibility & contrast

On white

5.25
#A140BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A140BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140BF#FFFFFF#000000##FFFFFF
##A140BF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0566C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#A0587A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a140bf;
/* rgb */ color: rgb(161, 64, 191);
/* oklch */ color: oklch(55.7% 0.202 317.2);
Tailwind
colors: {
  custom: {
    50: '#c07cd3',
    500: '#a140bf',
    950: '#000000',
  },
}
SCSS
$custom: #a140bf;
$custom-light: #c07cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a140bf",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 285.827,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.2017,
    "h": 317.2
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#A140BF
secondary
#9ECA91
accent
#D94E6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A140BF

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

Preview Lab → · Contrast checker → · Palette generator →

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