#A651BC#A651BC

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

Color values

HEX#A651BC
RGBrgb(166, 81, 188)
HSLhsl(288, 44%, 53%)
HSVhsv(288, 57%, 74%)
CMYKcmyk(11.7%, 56.9%, 0%, 26.3%)
CIE-LABlab(49.04, 51.35, -41.66)
CIE-LCHlch(49.04, 66.12, 320.95°)
OKLaboklab(58.24% 0.1333 -0.116)
OKLCHoklch(58.24% 0.177 319)
XYZxyz(27.7442, 17.6238, 49.5075)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651BC #67BC51
analogous
#7151BC #A651BC #BC519C
triadic
#A651BC #BCA651 #51BCA6
tetradic
#A651BC #BC7151 #67BC51 #519CBC
square
#A651BC #BC7151 #67BC51 #519CBC
split-complementary
#A651BC #9CBC51 #51BC71
monochromatic
#5C296A #833A96 #A651BC #BD7DCD #D3A9DE

Accessibility & contrast

On white

4.64
#A651BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A651BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651BC#FFFFFF#000000##FFFFFF
##A651BC1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBF
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#A6627F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a651bc;
/* rgb */ color: rgb(166, 81, 188);
/* oklch */ color: oklch(58.2% 0.177 319.0);
Tailwind
colors: {
  custom: {
    50: '#c386d0',
    500: '#a651bc',
    950: '#000000',
  },
}
SCSS
$custom: #a651bc;
$custom-light: #c386d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a651bc",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 287.664,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.17672,
    "h": 319
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#A651BC
secondary
#A7CC9D
accent
#D4546E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A651BC

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

Preview Lab → · Contrast checker → · Palette generator →

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