#A140B2#A140B2

#A140B2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.190 H 321.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A140B2
RGBrgb(161, 64, 178)
HSLhsl(291, 47%, 47%)
HSVhsv(291, 64%, 70%)
CMYKcmyk(9.6%, 64%, 0%, 30.2%)
CIE-LABlab(44.88, 56.06, -42.45)
CIE-LCHlch(44.88, 70.32, 322.87°)
OKLaboklab(54.9% 0.1482 -0.1183)
OKLCHoklch(54.9% 0.19 321.4)
XYZxyz(24.5663, 14.4595, 43.6078)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140B2 #51B240
analogous
#6840B2 #A140B2 #B2408A
triadic
#A140B2 #B2A140 #40B2A1
tetradic
#A140B2 #B26840 #51B240 #408AB2
square
#A140B2 #B26840 #51B240 #408AB2
split-complementary
#A140B2 #8AB240 #40B268
monochromatic
#502058 #783085 #A140B2 #BA67C8 #CE94D8

Accessibility & contrast

On white

5.40
#A140B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A140B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140B2#FFFFFF#000000##FFFFFF
##A140B21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#A35373
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a140b2;
/* rgb */ color: rgb(161, 64, 178);
/* oklch */ color: oklch(54.9% 0.190 321.4);
Tailwind
colors: {
  custom: {
    50: '#c07cc9',
    500: '#a140b2',
    950: '#000000',
  },
}
SCSS
$custom: #a140b2;
$custom-light: #c07cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a140b2",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 291.053,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.18964,
    "h": 321.4
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#A140B2
secondary
#93C48A
accent
#D75165
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A140B2

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

Preview Lab → · Contrast checker → · Palette generator →

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