#A651DC#A651DC

#A651DC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.209 H 309.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A651DC
RGBrgb(166, 81, 220)
HSLhsl(277, 67%, 59%)
HSVhsv(277, 63%, 86%)
CMYKcmyk(24.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(50.87, 58.07, -57.09)
CIE-LCHlch(50.87, 81.44, 315.49°)
OKLaboklab(60.17% 0.1336 -0.1611)
OKLCHoklch(60.17% 0.209 309.7)
XYZxyz(31.5841, 19.1598, 69.7306)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651DC #87DC51
analogous
#6151DC #A651DC #DC51CC
triadic
#A651DC #DCA651 #51DCA6
tetradic
#A651DC #DC6151 #87DC51 #51CCDC
square
#A651DC #DC6151 #87DC51 #51CCDC
split-complementary
#A651DC #CCDC51 #51DC61
monochromatic
#671E95 #8A28C8 #A651DC #C084E6 #DAB7F0

Accessibility & contrast

On white

4.35
#A651DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A651DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651DC#FFFFFF#000000##000000
##A651DC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3E7AD9
Tritanopia (blue-blind)
#9F6D8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a651dc;
/* rgb */ color: rgb(166, 81, 220);
/* oklch */ color: oklch(60.2% 0.209 309.7);
Tailwind
colors: {
  custom: {
    50: '#c487e8',
    500: '#a651dc',
    950: '#000000',
  },
}
SCSS
$custom: #a651dc;
$custom-light: #c487e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a651dc",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 276.691,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.20928,
    "h": 309.7
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

primary
#A651DC
secondary
#BEE0A9
accent
#E93E81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A651DC

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

Preview Lab → · Contrast checker → · Palette generator →

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