#A656E5#A656E5

#A656E5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.212 H 307.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A656E5
RGBrgb(166, 86, 229)
HSLhsl(274, 73%, 62%)
HSVhsv(274, 62%, 90%)
CMYKcmyk(27.5%, 62.4%, 0%, 10.2%)
CIE-LABlab(52.31, 57.67, -59.88)
CIE-LCHlch(52.31, 83.13, 313.93°)
OKLaboklab(61.38% 0.1274 -0.1693)
OKLCHoklch(61.38% 0.212 307)
XYZxyz(33.1936, 20.4201, 76.3064)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A656E5 #95E556
analogous
#5F56E5 #A656E5 #E556DD
triadic
#A656E5 #E5A656 #56E5A6
tetradic
#A656E5 #E55F56 #95E556 #56DDE5
square
#A656E5 #E55F56 #95E556 #56DDE5
split-complementary
#A656E5 #DDE556 #56E55F
monochromatic
#691AA7 #8A22DC #A656E5 #C28BED #DEC0F5

Accessibility & contrast

On white

4.13
#A656E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A656E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A656E5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A656E5#FFFFFF#000000##000000
##A656E51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#397DE2
Tritanopia (blue-blind)
#9C7396
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a656e5;
/* rgb */ color: rgb(166, 86, 229);
/* oklch */ color: oklch(61.4% 0.212 307.0);
Tailwind
colors: {
  custom: {
    50: '#c58aee',
    500: '#a656e5',
    950: '#000000',
  },
}
SCSS
$custom: #a656e5;
$custom-light: #c58aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a656e5",
  "rgb": {
    "r": 166,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 273.566,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.21187,
    "h": 307
  },
  "luminance": 0.2042
}

Semantic roles & 50–950 ramp

primary
#A656E5
secondary
#C8E6B1
accent
#D51067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A656E5

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

Preview Lab → · Contrast checker → · Palette generator →

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