#A657D8#A657D8

#A657D8 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.7% C 0.197 H 310.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A657D8
RGBrgb(166, 87, 216)
HSLhsl(277, 62%, 59%)
HSVhsv(277, 60%, 85%)
CMYKcmyk(23.1%, 59.7%, 0%, 15.3%)
CIE-LABlab(51.70, 54.29, -53.49)
CIE-LCHlch(51.70, 76.21, 315.42°)
OKLaboklab(60.69% 0.1266 -0.1506)
OKLCHoklch(60.69% 0.197 310)
XYZxyz(31.5264, 19.8819, 67.1292)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657D8 #89D857
analogous
#6657D8 #A657D8 #D857CA
triadic
#A657D8 #D8A657 #57D8A6
tetradic
#A657D8 #D86657 #89D857 #57CAD8
square
#A657D8 #D86657 #89D857 #57CAD8
split-complementary
#A657D8 #CAD857 #57D866
monochromatic
#672293 #8A2EC4 #A657D8 #C089E4 #DBBAEF

Accessibility & contrast

On white

4.22
#A657D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A657D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657D8#FFFFFF#000000##000000
##A657D81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2478DC
Deuteranopia (green-blind)
#487DD5
Tritanopia (blue-blind)
#9F6F8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a657d8;
/* rgb */ color: rgb(166, 87, 216);
/* oklch */ color: oklch(60.7% 0.197 310.0);
Tailwind
colors: {
  custom: {
    50: '#c48ae5',
    500: '#a657d8',
    950: '#000000',
  },
}
SCSS
$custom: #a657d8;
$custom-light: #c48ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#a657d8",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 276.744,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.1967,
    "h": 310
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#A657D8
secondary
#C0DFAC
accent
#E54282
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A657D8

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

Preview Lab → · Contrast checker → · Palette generator →

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