#A656E7#A656E7

#A656E7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.214 H 306.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A656E7
RGBrgb(166, 86, 231)
HSLhsl(273, 75%, 62%)
HSVhsv(273, 63%, 91%)
CMYKcmyk(28.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(52.43, 58.12, -60.80)
CIE-LCHlch(52.43, 84.11, 313.71°)
OKLaboklab(61.51% 0.1273 -0.172)
OKLCHoklch(61.51% 0.214 306.5)
XYZxyz(33.4744, 20.5324, 77.7855)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A656E7 #97E756
analogous
#5D56E7 #A656E7 #E756E0
triadic
#A656E7 #E7A656 #56E7A6
tetradic
#A656E7 #E75D56 #97E756 #56E0E7
square
#A656E7 #E75D56 #97E756 #56E0E7
split-complementary
#A656E7 #E0E756 #56E75D
monochromatic
#6918AA #8A20DF #A656E7 #C28CEF #DEC1F6

Accessibility & contrast

On white

4.11
#A656E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A656E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A656E7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A656E7#FFFFFF#000000##000000
##A656E71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#9B7497
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a656e7;
/* rgb */ color: rgb(166, 86, 231);
/* oklch */ color: oklch(61.5% 0.214 306.5);
Tailwind
colors: {
  custom: {
    50: '#c58aef',
    500: '#a656e7',
    950: '#000000',
  },
}
SCSS
$custom: #a656e7;
$custom-light: #c58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a656e7",
  "rgb": {
    "r": 166,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 273.103,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.21399,
    "h": 306.5
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#A656E7
secondary
#CAE7B2
accent
#D70E68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A656E7

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

Preview Lab → · Contrast checker → · Palette generator →

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