#A651EF#A651EF

#A651EF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.229 H 305.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A651EF
RGBrgb(166, 81, 239)
HSLhsl(272, 83%, 63%)
HSVhsv(272, 66%, 94%)
CMYKcmyk(30.5%, 66.1%, 0%, 6.3%)
CIE-LABlab(52.09, 62.30, -65.85)
CIE-LCHlch(52.09, 90.65, 313.41°)
OKLaboklab(61.43% 0.1322 -0.1868)
OKLCHoklch(61.43% 0.229 305.3)
XYZxyz(34.2449, 20.2241, 83.7442)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651EF #9AEF51
analogous
#5751EF #A651EF #EF51E9
triadic
#A651EF #EFA651 #51EFA6
tetradic
#A651EF #EF5751 #9AEF51 #51E9EF
square
#A651EF #EF5751 #9AEF51 #51E9EF
split-complementary
#A651EF #E9EF51 #51EF57
monochromatic
#6911B5 #8919EA #A651EF #C389F4 #DFC1F9

Accessibility & contrast

On white

4.16
#A651EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A651EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651EF#FFFFFF#000000##000000
##A651EF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#207CEC
Tritanopia (blue-blind)
#99749A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a651ef;
/* rgb */ color: rgb(166, 81, 239);
/* oklch */ color: oklch(61.4% 0.229 305.3);
Tailwind
colors: {
  custom: {
    50: '#c587f5',
    500: '#a651ef',
    950: '#000000',
  },
}
SCSS
$custom: #a651ef;
$custom-light: #c587f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a651ef",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 272.278,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.22884,
    "h": 305.3
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#A651EF
secondary
#CCEAB1
accent
#E0066A
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A651EF

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

Preview Lab → · Contrast checker → · Palette generator →

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