#A656E4#A656E4

#A656E4 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.211 H 307.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A656E4
RGBrgb(166, 86, 228)
HSLhsl(274, 72%, 62%)
HSVhsv(274, 62%, 89%)
CMYKcmyk(27.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(52.25, 57.45, -59.41)
CIE-LCHlch(52.25, 82.64, 314.04°)
OKLaboklab(61.32% 0.1275 -0.1679)
OKLCHoklch(61.32% 0.211 307.2)
XYZxyz(33.0543, 20.3644, 75.5731)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A656E4 #94E456
analogous
#5F56E4 #A656E4 #E456DB
triadic
#A656E4 #E4A656 #56E4A6
tetradic
#A656E4 #E45F56 #94E456 #56DBE4
square
#A656E4 #E45F56 #94E456 #56DBE4
split-complementary
#A656E4 #DBE456 #56E45F
monochromatic
#691AA5 #8A23DA #A656E4 #C28BEC #DEC0F5

Accessibility & contrast

On white

4.14
#A656E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A656E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A656E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A656E4#FFFFFF#000000##000000
##A656E41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#3B7DE1
Tritanopia (blue-blind)
#9C7395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a656e4;
/* rgb */ color: rgb(166, 86, 228);
/* oklch */ color: oklch(61.3% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#c48aed',
    500: '#a656e4',
    950: '#000000',
  },
}
SCSS
$custom: #a656e4;
$custom-light: #c48aed;
$custom-dark: #000000;
JSON
{
  "hex": "#a656e4",
  "rgb": {
    "r": 166,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 273.803,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.21082,
    "h": 307.2
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#A656E4
secondary
#C8E5B0
accent
#D51166
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A656E4

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

Preview Lab → · Contrast checker → · Palette generator →

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