#A651EC#A651EC

#A651EC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.226 H 305.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A651EC
RGBrgb(166, 81, 236)
HSLhsl(273, 80%, 62%)
HSVhsv(273, 66%, 93%)
CMYKcmyk(29.7%, 65.7%, 0%, 7.5%)
CIE-LABlab(51.89, 61.62, -64.48)
CIE-LCHlch(51.89, 89.19, 313.70°)
OKLaboklab(61.22% 0.1325 -0.1828)
OKLCHoklch(61.22% 0.226 305.9)
XYZxyz(33.8053, 20.0483, 81.4294)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651EC #97EC51
analogous
#5851EC #A651EC #EC51E5
triadic
#A651EC #ECA651 #51ECA6
tetradic
#A651EC #EC5851 #97EC51 #51E5EC
square
#A651EC #EC5851 #97EC51 #51E5EC
split-complementary
#A651EC #E5EC51 #51EC58
monochromatic
#6913AF #8A1AE6 #A651EC #C288F2 #DEBFF8

Accessibility & contrast

On white

4.19
#A651EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A651EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651EC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651EC#FFFFFF#000000##000000
##A651EC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#9A7398
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a651ec;
/* rgb */ color: rgb(166, 81, 236);
/* oklch */ color: oklch(61.2% 0.226 305.9);
Tailwind
colors: {
  custom: {
    50: '#c587f3',
    500: '#a651ec',
    950: '#000000',
  },
}
SCSS
$custom: #a651ec;
$custom-light: #c587f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a651ec",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 272.903,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.22575,
    "h": 305.9
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#A651EC
secondary
#CAE9B0
accent
#DD0969
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A651EC

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

Preview Lab → · Contrast checker → · Palette generator →

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