#A651BD#A651BD

#A651BD is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.178 H 318.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A651BD
RGBrgb(166, 81, 189)
HSLhsl(287, 45%, 53%)
HSVhsv(287, 57%, 74%)
CMYKcmyk(12.2%, 57.1%, 0%, 25.9%)
CIE-LABlab(49.09, 51.55, -42.16)
CIE-LCHlch(49.09, 66.59, 320.72°)
OKLaboklab(58.29% 0.1334 -0.1174)
OKLCHoklch(58.29% 0.178 318.6)
XYZxyz(27.8524, 17.6671, 50.0772)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651BD #68BD51
analogous
#7051BD #A651BD #BD519E
triadic
#A651BD #BDA651 #51BDA6
tetradic
#A651BD #BD7051 #68BD51 #519EBD
square
#A651BD #BD7051 #68BD51 #519EBD
split-complementary
#A651BD #9EBD51 #51BD70
monochromatic
#5D296B #833997 #A651BD #BD7DCE #D3AADF

Accessibility & contrast

On white

4.63
#A651BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A651BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A651BD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651BD#FFFFFF#000000##FFFFFF
##A651BD1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#A6627F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a651bd;
/* rgb */ color: rgb(166, 81, 189);
/* oklch */ color: oklch(58.3% 0.178 318.6);
Tailwind
colors: {
  custom: {
    50: '#c386d1',
    500: '#a651bd',
    950: '#000000',
  },
}
SCSS
$custom: #a651bd;
$custom-light: #c386d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a651bd",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 287.222,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.17771,
    "h": 318.6
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#A651BD
secondary
#A7CC9E
accent
#D5536F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A651BD

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

Preview Lab → · Contrast checker → · Palette generator →

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