#A651E4#A651E4

#A651E4 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.218 H 307.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A651E4
RGBrgb(166, 81, 228)
HSLhsl(275, 73%, 61%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(27.2%, 64.5%, 0%, 10.6%)
CIE-LABlab(51.37, 59.83, -60.81)
CIE-LCHlch(51.37, 85.31, 314.53°)
OKLaboklab(60.69% 0.1331 -0.172)
OKLCHoklch(60.69% 0.218 307.7)
XYZxyz(32.6690, 19.5937, 75.4447)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651E4 #8FE451
analogous
#5C51E4 #A651E4 #E451D8
triadic
#A651E4 #E4A651 #51E4A6
tetradic
#A651E4 #E45C51 #8FE451 #51D8E4
square
#A651E4 #E45C51 #8FE451 #51D8E4
split-complementary
#A651E4 #D8E451 #51E45C
monochromatic
#6819A2 #8A21D7 #A651E4 #C186EC #DCBBF4

Accessibility & contrast

On white

4.27
#A651E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A651E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651E4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651E4#FFFFFF#000000##000000
##A651E41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#9C7094
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a651e4;
/* rgb */ color: rgb(166, 81, 228);
/* oklch */ color: oklch(60.7% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#c587ed',
    500: '#a651e4',
    950: '#000000',
  },
}
SCSS
$custom: #a651e4;
$custom-light: #c587ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a651e4",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 274.694,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.21752,
    "h": 307.7
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#A651E4
secondary
#C4E4AC
accent
#D51063
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A651E4

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

Preview Lab → · Contrast checker → · Palette generator →

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