#A651FF#A651FF

#A651FF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.6% C 0.245 H 302.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A651FF
RGBrgb(166, 81, 255)
HSLhsl(269, 100%, 66%)
HSVhsv(269, 68%, 100%)
CMYKcmyk(34.9%, 68.2%, 0%, 0%)
CIE-LABlab(53.18, 65.95, -73.00)
CIE-LCHlch(53.18, 98.38, 312.09°)
OKLaboklab(62.55% 0.1302 -0.2078)
OKLCHoklch(62.55% 0.245 302.1)
XYZxyz(36.7140, 21.2117, 96.7484)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651FF #AAFF51
analogous
#5153FF #A651FF #FD51FF
triadic
#A651FF #FFA651 #51FFA6
tetradic
#A651FF #FF5153 #AAFF51 #51FFFD
square
#A651FF #FF5153 #AAFF51 #51FFFD
split-complementary
#A651FF #FFFD51 #53FF51
monochromatic
#6800D6 #8714FF #A651FF #C58EFF #E5CBFF

Accessibility & contrast

On white

4.01
#A651FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A651FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651FF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651FF#FFFFFF#000000##000000
##A651FF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#937AA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a651ff;
/* rgb */ color: rgb(166, 81, 255);
/* oklch */ color: oklch(62.6% 0.245 302.1);
Tailwind
colors: {
  custom: {
    50: '#c688ff',
    500: '#a651ff',
    950: '#000000',
  },
}
SCSS
$custom: #a651ff;
$custom-light: #c688ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a651ff",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 269.31,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62553,
    "c": 0.24525,
    "h": 302.1
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#A651FF
secondary
#D7F3B9
accent
#E60075
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A651FF

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

Preview Lab → · Contrast checker → · Palette generator →

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