#A651EA#A651EA

#A651EA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.224 H 306.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A651EA
RGBrgb(166, 81, 234)
HSLhsl(273, 78%, 62%)
HSVhsv(273, 65%, 92%)
CMYKcmyk(29.1%, 65.4%, 0%, 8.2%)
CIE-LABlab(51.76, 61.17, -63.57)
CIE-LCHlch(51.76, 88.22, 313.90°)
OKLaboklab(61.09% 0.1326 -0.1801)
OKLCHoklch(61.09% 0.224 306.4)
XYZxyz(33.5164, 19.9327, 79.9077)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651EA #95EA51
analogous
#5A51EA #A651EA #EA51E2
triadic
#A651EA #EAA651 #51EAA6
tetradic
#A651EA #EA5A51 #95EA51 #51E2EA
square
#A651EA #EA5A51 #95EA51 #51E2EA
split-complementary
#A651EA #E2EA51 #51EA5A
monochromatic
#6915AC #8A1BE2 #A651EA #C288F1 #DEBEF7

Accessibility & contrast

On white

4.21
#A651EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A651EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651EA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651EA#FFFFFF#000000##000000
##A651EA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#9A7297
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a651ea;
/* rgb */ color: rgb(166, 81, 234);
/* oklch */ color: oklch(61.1% 0.224 306.4);
Tailwind
colors: {
  custom: {
    50: '#c587f2',
    500: '#a651ea',
    950: '#000000',
  },
}
SCSS
$custom: #a651ea;
$custom-light: #c587f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a651ea",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 273.333,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.2237,
    "h": 306.4
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#A651EA
secondary
#C8E8AF
accent
#DB0B67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A651EA

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

Preview Lab → · Contrast checker → · Palette generator →

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