#A656EF#A656EF

#A656EF is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.222 H 304.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A656EF
RGBrgb(166, 86, 239)
HSLhsl(271, 83%, 64%)
HSVhsv(271, 64%, 94%)
CMYKcmyk(30.5%, 64%, 0%, 6.3%)
CIE-LABlab(52.94, 59.94, -64.47)
CIE-LCHlch(52.94, 88.03, 312.92°)
OKLaboklab(62.04% 0.1268 -0.1828)
OKLCHoklch(62.04% 0.222 304.7)
XYZxyz(34.6302, 20.9947, 83.8726)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A656EF #9FEF56
analogous
#5956EF #A656EF #EF56EB
triadic
#A656EF #EFA656 #56EFA6
tetradic
#A656EF #EF5956 #9FEF56 #56EBEF
square
#A656EF #EF5956 #9FEF56 #56EBEF
split-complementary
#A656EF #EBEF56 #56EF59
monochromatic
#6912B9 #891EEA #A656EF #C38EF4 #E1C6FA

Accessibility & contrast

On white

4.04
#A656EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A656EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A656EF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A656EF#FFFFFF#000000##000000
##A656EF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#2A7EEC
Tritanopia (blue-blind)
#99779B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a656ef;
/* rgb */ color: rgb(166, 86, 239);
/* oklch */ color: oklch(62.0% 0.222 304.7);
Tailwind
colors: {
  custom: {
    50: '#c58af5',
    500: '#a656ef',
    950: '#000000',
  },
}
SCSS
$custom: #a656ef;
$custom-light: #c58af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a656ef",
  "rgb": {
    "r": 166,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 271.373,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.22244,
    "h": 304.7
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#A656EF
secondary
#CFEBB5
accent
#DF066E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A656EF

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

Preview Lab → · Contrast checker → · Palette generator →

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