#A651E6#A651E6

#A651E6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.220 H 307.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A651E6
RGBrgb(166, 81, 230)
HSLhsl(274, 75%, 61%)
HSVhsv(274, 65%, 90%)
CMYKcmyk(27.8%, 64.8%, 0%, 9.8%)
CIE-LABlab(51.50, 60.28, -61.74)
CIE-LCHlch(51.50, 86.28, 314.32°)
OKLaboklab(60.82% 0.133 -0.1747)
OKLCHoklch(60.82% 0.22 307.3)
XYZxyz(32.9483, 19.7054, 76.9154)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651E6 #91E651
analogous
#5B51E6 #A651E6 #E651DB
triadic
#A651E6 #E6A651 #51E6A6
tetradic
#A651E6 #E65B51 #91E651 #51DBE6
square
#A651E6 #E65B51 #91E651 #51DBE6
split-complementary
#A651E6 #DBE651 #51E65B
monochromatic
#6818A5 #8A1FDA #A651E6 #C187EE #DDBCF5

Accessibility & contrast

On white

4.25
#A651E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A651E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651E6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651E6#FFFFFF#000000##000000
##A651E61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#317BE3
Tritanopia (blue-blind)
#9C7095
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a651e6;
/* rgb */ color: rgb(166, 81, 230);
/* oklch */ color: oklch(60.8% 0.220 307.3);
Tailwind
colors: {
  custom: {
    50: '#c587ef',
    500: '#a651e6',
    950: '#000000',
  },
}
SCSS
$custom: #a651e6;
$custom-light: #c587ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a651e6",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 274.228,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.21959,
    "h": 307.3
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#A651E6
secondary
#C5E5AD
accent
#D70E65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A651E6

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

Preview Lab → · Contrast checker → · Palette generator →

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