#A651D2#A651D2

#A651D2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.5% C 0.199 H 312.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A651D2
RGBrgb(166, 81, 210)
HSLhsl(280, 59%, 57%)
HSVhsv(280, 61%, 82%)
CMYKcmyk(21%, 61.4%, 0%, 17.6%)
CIE-LABlab(50.27, 55.91, -52.37)
CIE-LCHlch(50.27, 76.61, 316.88°)
OKLaboklab(59.54% 0.1339 -0.1472)
OKLCHoklch(59.54% 0.199 312.3)
XYZxyz(30.2991, 18.6458, 62.9632)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651D2 #7DD251
analogous
#6651D2 #A651D2 #D251BD
triadic
#A651D2 #D2A651 #51D2A6
tetradic
#A651D2 #D26651 #7DD251 #51BDD2
square
#A651D2 #D26651 #7DD251 #51BDD2
split-complementary
#A651D2 #BDD251 #51D266
monochromatic
#642386 #882FB7 #A651D2 #BF82DF #D8B2EB

Accessibility & contrast

On white

4.44
#A651D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A651D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651D2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651D2#FFFFFF#000000##000000
##A651D21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D6
Deuteranopia (green-blind)
#4879CF
Tritanopia (blue-blind)
#A1698A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a651d2;
/* rgb */ color: rgb(166, 81, 210);
/* oklch */ color: oklch(59.5% 0.199 312.3);
Tailwind
colors: {
  custom: {
    50: '#c486e0',
    500: '#a651d2',
    950: '#000000',
  },
}
SCSS
$custom: #a651d2;
$custom-light: #c486e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a651d2",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 279.535,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.19902,
    "h": 312.3
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#A651D2
secondary
#B7DAA5
accent
#E2467B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A651D2

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

Preview Lab → · Contrast checker → · Palette generator →

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