#A657E5#A657E5

#A657E5 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.211 H 306.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A657E5
RGBrgb(166, 87, 229)
HSLhsl(273, 73%, 62%)
HSVhsv(273, 62%, 90%)
CMYKcmyk(27.5%, 62%, 0%, 10.2%)
CIE-LABlab(52.49, 57.19, -59.59)
CIE-LCHlch(52.49, 82.59, 313.82°)
OKLaboklab(61.51% 0.1263 -0.1684)
OKLCHoklch(61.51% 0.211 306.9)
XYZxyz(33.2740, 20.5809, 76.3332)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657E5 #96E557
analogous
#5F57E5 #A657E5 #E557DD
triadic
#A657E5 #E5A657 #57E5A6
tetradic
#A657E5 #E55F57 #96E557 #57DDE5
square
#A657E5 #E55F57 #96E557 #57DDE5
split-complementary
#A657E5 #DDE557 #57E55F
monochromatic
#691AA8 #8A22DD #A657E5 #C28CED #DEC1F5

Accessibility & contrast

On white

4.10
#A657E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A657E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657E5#FFFFFF#000000##000000
##A657E51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#9C7496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a657e5;
/* rgb */ color: rgb(166, 87, 229);
/* oklch */ color: oklch(61.5% 0.211 306.9);
Tailwind
colors: {
  custom: {
    50: '#c48bee',
    500: '#a657e5',
    950: '#000000',
  },
}
SCSS
$custom: #a657e5;
$custom-light: #c48bee;
$custom-dark: #000000;
JSON
{
  "hex": "#a657e5",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 273.38,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.21051,
    "h": 306.9
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#A657E5
secondary
#C9E6B2
accent
#D51068
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A657E5

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

Preview Lab → · Contrast checker → · Palette generator →

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