#A651B2#A651B2

#A651B2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.167 H 322.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A651B2
RGBrgb(166, 81, 178)
HSLhsl(293, 39%, 51%)
HSVhsv(293, 54%, 70%)
CMYKcmyk(6.7%, 54.5%, 0%, 30.2%)
CIE-LABlab(48.52, 49.37, -36.65)
CIE-LCHlch(48.52, 61.49, 323.41°)
OKLaboklab(57.69% 0.1325 -0.1015)
OKLCHoklch(57.69% 0.167 322.5)
XYZxyz(26.7034, 17.2075, 44.0256)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651B2 #5DB251
analogous
#7551B2 #A651B2 #B2518D
triadic
#A651B2 #B2A651 #51B2A6
tetradic
#A651B2 #B27551 #5DB251 #518DB2
square
#A651B2 #B27551 #5DB251 #518DB2
split-complementary
#A651B2 #8DB251 #51B275
monochromatic
#582A5F #803D89 #A651B2 #BC7BC5 #D1A6D8

Accessibility & contrast

On white

4.73
#A651B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A651B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A651B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651B2#FFFFFF#000000##FFFFFF
##A651B21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#A85E7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a651b2;
/* rgb */ color: rgb(166, 81, 178);
/* oklch */ color: oklch(57.7% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#c386c9',
    500: '#a651b2',
    950: '#000000',
  },
}
SCSS
$custom: #a651b2;
$custom-light: #c386c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a651b2",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 292.577,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.16685,
    "h": 322.5
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#A651B2
secondary
#9FC59A
accent
#CF5968
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A651B2

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

Preview Lab → · Contrast checker → · Palette generator →

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