#A651BB#A651BB

#A651BB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.176 H 319.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A651BB
RGBrgb(166, 81, 187)
HSLhsl(288, 44%, 53%)
HSVhsv(288, 57%, 73%)
CMYKcmyk(11.2%, 56.7%, 0%, 26.7%)
CIE-LABlab(48.98, 51.15, -41.16)
CIE-LCHlch(48.98, 65.65, 321.17°)
OKLaboklab(58.18% 0.1333 -0.1145)
OKLCHoklch(58.18% 0.176 319.3)
XYZxyz(27.6368, 17.5809, 48.9417)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651BB #66BB51
analogous
#7151BB #A651BB #BB519B
triadic
#A651BB #BBA651 #51BBA6
tetradic
#A651BB #BB7151 #66BB51 #519BBB
square
#A651BB #BB7151 #66BB51 #519BBB
split-complementary
#A651BB #9BBB51 #51BB71
monochromatic
#5C2969 #833A95 #A651BB #BD7DCC #D3A9DD

Accessibility & contrast

On white

4.65
#A651BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A651BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A651BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651BB#FFFFFF#000000##FFFFFF
##A651BB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBE
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#A6617E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a651bb;
/* rgb */ color: rgb(166, 81, 187);
/* oklch */ color: oklch(58.2% 0.176 319.3);
Tailwind
colors: {
  custom: {
    50: '#c386d0',
    500: '#a651bb',
    950: '#000000',
  },
}
SCSS
$custom: #a651bb;
$custom-light: #c386d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a651bb",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 288.113,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.17572,
    "h": 319.3
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#A651BB
secondary
#A6CB9D
accent
#D4546D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A651BB

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

Preview Lab → · Contrast checker → · Palette generator →

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