#A651DF#A651DF

#A651DF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.212 H 308.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A651DF
RGBrgb(166, 81, 223)
HSLhsl(276, 69%, 60%)
HSVhsv(276, 64%, 87%)
CMYKcmyk(25.6%, 63.7%, 0%, 12.5%)
CIE-LABlab(51.06, 58.73, -58.49)
CIE-LCHlch(51.06, 82.89, 315.12°)
OKLaboklab(60.36% 0.1334 -0.1652)
OKLCHoklch(60.36% 0.212 308.9)
XYZxyz(31.9849, 19.3201, 71.8419)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651DF #8ADF51
analogous
#5F51DF #A651DF #DF51D1
triadic
#A651DF #DFA651 #51DFA6
tetradic
#A651DF #DF5F51 #8ADF51 #51D1DF
square
#A651DF #DF5F51 #8ADF51 #51D1DF
split-complementary
#A651DF #D1DF51 #51DF5F
monochromatic
#671C99 #8A26CD #A651DF #C085E9 #DBB8F2

Accessibility & contrast

On white

4.32
#A651DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A651DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651DF#FFFFFF#000000##000000
##A651DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#9E6E91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a651df;
/* rgb */ color: rgb(166, 81, 223);
/* oklch */ color: oklch(60.4% 0.212 308.9);
Tailwind
colors: {
  custom: {
    50: '#c487ea',
    500: '#a651df',
    950: '#000000',
  },
}
SCSS
$custom: #a651df;
$custom-light: #c487ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a651df",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 275.915,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.21238,
    "h": 308.9
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#A651DF
secondary
#C0E1AA
accent
#EC3C83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A651DF

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

Preview Lab → · Contrast checker → · Palette generator →

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