#A651E7#A651E7

#A651E7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.221 H 307.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A651E7
RGBrgb(166, 81, 231)
HSLhsl(274, 76%, 61%)
HSVhsv(274, 65%, 91%)
CMYKcmyk(28.1%, 64.9%, 0%, 9.4%)
CIE-LABlab(51.57, 60.50, -62.20)
CIE-LCHlch(51.57, 86.77, 314.21°)
OKLaboklab(60.89% 0.1329 -0.1761)
OKLCHoklch(60.89% 0.221 307)
XYZxyz(33.0891, 19.7618, 77.6571)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651E7 #92E751
analogous
#5B51E7 #A651E7 #E751DD
triadic
#A651E7 #E7A651 #51E7A6
tetradic
#A651E7 #E75B51 #92E751 #51DDE7
square
#A651E7 #E75B51 #92E751 #51DDE7
split-complementary
#A651E7 #DDE751 #51E75B
monochromatic
#6817A7 #8A1EDC #A651E7 #C287EE #DDBDF6

Accessibility & contrast

On white

4.24
#A651E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A651E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651E7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651E7#FFFFFF#000000##000000
##A651E71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#9B7195
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a651e7;
/* rgb */ color: rgb(166, 81, 231);
/* oklch */ color: oklch(60.9% 0.221 307.0);
Tailwind
colors: {
  custom: {
    50: '#c587ef',
    500: '#a651e7',
    950: '#000000',
  },
}
SCSS
$custom: #a651e7;
$custom-light: #c587ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a651e7",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 274,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.22061,
    "h": 307
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#A651E7
secondary
#C6E6AE
accent
#D80E65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A651E7

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

Preview Lab → · Contrast checker → · Palette generator →

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