#A651D9#A651D9

#A651D9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.206 H 310.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A651D9
RGBrgb(166, 81, 217)
HSLhsl(278, 64%, 58%)
HSVhsv(278, 63%, 85%)
CMYKcmyk(23.5%, 62.7%, 0%, 14.9%)
CIE-LABlab(50.69, 57.42, -55.68)
CIE-LCHlch(50.69, 79.99, 315.88°)
OKLaboklab(59.97% 0.1337 -0.157)
OKLCHoklch(59.97% 0.206 310.4)
XYZxyz(31.1903, 19.0023, 67.6569)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651D9 #84D951
analogous
#6251D9 #A651D9 #D951C8
triadic
#A651D9 #D9A651 #51D9A6
tetradic
#A651D9 #D96251 #84D951 #51C8D9
square
#A651D9 #D96251 #84D951 #51C8D9
split-complementary
#A651D9 #C8D951 #51D962
monochromatic
#661F90 #892AC2 #A651D9 #C083E4 #D9B5EF

Accessibility & contrast

On white

4.37
#A651D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A651D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651D9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651D9#FFFFFF#000000##000000
##A651D91.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0875DD
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#9F6C8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a651d9;
/* rgb */ color: rgb(166, 81, 217);
/* oklch */ color: oklch(60.0% 0.206 310.4);
Tailwind
colors: {
  custom: {
    50: '#c487e5',
    500: '#a651d9',
    950: '#000000',
  },
}
SCSS
$custom: #a651d9;
$custom-light: #c487e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a651d9",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 277.5,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.20621,
    "h": 310.4
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#A651D9
secondary
#BCDEA8
accent
#E7417F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A651D9

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

Preview Lab → · Contrast checker → · Palette generator →

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