#A51B90#A51B90

#A51B90 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.206 H 335.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A51B90
RGBrgb(165, 27, 144)
HSLhsl(309, 72%, 38%)
HSVhsv(309, 84%, 65%)
CMYKcmyk(0%, 83.6%, 12.7%, 35.3%)
CIE-LABlab(39.24, 63.90, -30.97)
CIE-LCHlch(39.24, 71.01, 334.14°)
OKLaboklab(50.37% 0.1875 -0.0847)
OKLCHoklch(50.37% 0.206 335.7)
XYZxyz(20.9434, 10.7988, 27.3615)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51B90 #1BA530
analogous
#751BA5 #A51B90 #A51B4B
triadic
#A51B90 #90A51B #1B90A5
tetradic
#A51B90 #A5751B #1BA530 #1B4BA5
square
#A51B90 #A5751B #1BA530 #1B4BA5
split-complementary
#A51B90 #4BA51B #1BA575
monochromatic
#3C0A34 #701262 #A51B90 #DA24BE #E357CE

Accessibility & contrast

On white

6.65
#A51B90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A51B90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51B90
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51B90#FFFFFF#000000##FFFFFF
##A51B901.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5093
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#AE2956
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51b90;
/* rgb */ color: rgb(165, 27, 144);
/* oklch */ color: oklch(50.4% 0.206 335.7);
Tailwind
colors: {
  custom: {
    50: '#c46bb1',
    500: '#a51b90',
    950: '#000000',
  },
}
SCSS
$custom: #a51b90;
$custom-light: #c46bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a51b90",
  "rgb": {
    "r": 165,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 309.13,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.20569,
    "h": 335.7
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#A51B90
secondary
#55C766
accent
#EF5539
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51B90

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

Preview Lab → · Contrast checker → · Palette generator →

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