#A651E9#A651E9

#A651E9 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.223 H 306.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A651E9
RGBrgb(166, 81, 233)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 65%, 91%)
CMYKcmyk(28.8%, 65.2%, 0%, 8.6%)
CIE-LABlab(51.70, 60.95, -63.11)
CIE-LCHlch(51.70, 87.74, 314.00°)
OKLaboklab(61.02% 0.1327 -0.1788)
OKLCHoklch(61.02% 0.223 306.6)
XYZxyz(33.3732, 19.8754, 79.1532)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651E9 #94E951
analogous
#5A51E9 #A651E9 #E951E0
triadic
#A651E9 #E9A651 #51E9A6
tetradic
#A651E9 #E95A51 #94E951 #51E0E9
square
#A651E9 #E95A51 #94E951 #51E0E9
split-complementary
#A651E9 #E0E951 #51E95A
monochromatic
#6916AA #8A1CE0 #A651E9 #C287F0 #DEBEF7

Accessibility & contrast

On white

4.22
#A651E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A651E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651E9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651E9#FFFFFF#000000##000000
##A651E91.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#2C7CE6
Tritanopia (blue-blind)
#9B7296
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a651e9;
/* rgb */ color: rgb(166, 81, 233);
/* oklch */ color: oklch(61.0% 0.223 306.6);
Tailwind
colors: {
  custom: {
    50: '#c587f1',
    500: '#a651e9',
    950: '#000000',
  },
}
SCSS
$custom: #a651e9;
$custom-light: #c587f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a651e9",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 273.553,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.22266,
    "h": 306.6
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#A651E9
secondary
#C8E7AF
accent
#DA0C67
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A651E9

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

Preview Lab → · Contrast checker → · Palette generator →

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