#A656EB#A656EB

#A656EB is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.218 H 305.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A656EB
RGBrgb(166, 86, 235)
HSLhsl(272, 79%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(29.4%, 63.4%, 0%, 7.8%)
CIE-LABlab(52.69, 59.03, -62.64)
CIE-LCHlch(52.69, 86.07, 313.30°)
OKLaboklab(61.78% 0.1271 -0.1774)
OKLCHoklch(61.78% 0.218 305.6)
XYZxyz(34.0458, 20.7610, 80.7948)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A656EB #9BEB56
analogous
#5B56EB #A656EB #EB56E5
triadic
#A656EB #EBA656 #56EBA6
tetradic
#A656EB #EB5B56 #9BEB56 #56E5EB
square
#A656EB #EB5B56 #9BEB56 #56E5EB
split-complementary
#A656EB #E5EB56 #56EB5B
monochromatic
#6915B2 #891FE5 #A656EB #C38DF1 #E0C3F8

Accessibility & contrast

On white

4.08
#A656EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A656EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A656EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A656EB#FFFFFF#000000##000000
##A656EB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#9A7599
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a656eb;
/* rgb */ color: rgb(166, 86, 235);
/* oklch */ color: oklch(61.8% 0.218 305.6);
Tailwind
colors: {
  custom: {
    50: '#c58af2',
    500: '#a656eb',
    950: '#000000',
  },
}
SCSS
$custom: #a656eb;
$custom-light: #c58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a656eb",
  "rgb": {
    "r": 166,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 272.215,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.21822,
    "h": 305.6
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#A656EB
secondary
#CCE9B4
accent
#DB0A6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A656EB

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

Preview Lab → · Contrast checker → · Palette generator →

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