#A651D5#A651D5

#A651D5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.202 H 311.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A651D5
RGBrgb(166, 81, 213)
HSLhsl(279, 61%, 58%)
HSVhsv(279, 62%, 84%)
CMYKcmyk(22.1%, 62%, 0%, 16.5%)
CIE-LABlab(50.45, 56.56, -53.79)
CIE-LCHlch(50.45, 78.05, 316.43°)
OKLaboklab(59.72% 0.1338 -0.1514)
OKLCHoklch(59.72% 0.202 311.5)
XYZxyz(30.6764, 18.7967, 64.9500)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651D5 #80D551
analogous
#6451D5 #A651D5 #D551C2
triadic
#A651D5 #D5A651 #51D5A6
tetradic
#A651D5 #D56451 #80D551 #51C2D5
square
#A651D5 #D56451 #80D551 #51C2D5
split-complementary
#A651D5 #C2D551 #51D564
monochromatic
#65218A #892DBC #A651D5 #BF82E1 #D8B4ED

Accessibility & contrast

On white

4.41
#A651D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A651D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651D5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651D5#FFFFFF#000000##000000
##A651D51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1774D9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#A06A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a651d5;
/* rgb */ color: rgb(166, 81, 213);
/* oklch */ color: oklch(59.7% 0.202 311.5);
Tailwind
colors: {
  custom: {
    50: '#c487e2',
    500: '#a651d5',
    950: '#000000',
  },
}
SCSS
$custom: #a651d5;
$custom-light: #c487e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a651d5",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 278.636,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.2021,
    "h": 311.5
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#A651D5
secondary
#B9DBA6
accent
#E4447D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A651D5

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

Preview Lab → · Contrast checker → · Palette generator →

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