#A657DC#A657DC

#A657DC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.201 H 309.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A657DC
RGBrgb(166, 87, 220)
HSLhsl(276, 66%, 60%)
HSVhsv(276, 60%, 86%)
CMYKcmyk(24.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(51.94, 55.17, -55.38)
CIE-LCHlch(51.94, 78.17, 314.89°)
OKLaboklab(60.94% 0.1265 -0.1561)
OKLCHoklch(60.94% 0.201 309)
XYZxyz(32.0498, 20.0912, 69.8859)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657DC #8DDC57
analogous
#6357DC #A657DC #DC57CF
triadic
#A657DC #DCA657 #57DCA6
tetradic
#A657DC #DC6357 #8DDC57 #57CFDC
square
#A657DC #DC6357 #8DDC57 #57CFDC
split-complementary
#A657DC #CFDC57 #57DC63
monochromatic
#682099 #8A2ACB #A657DC #C18AE7 #DCBCF1

Accessibility & contrast

On white

4.18
#A657DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A657DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657DC#FFFFFF#000000##000000
##A657DC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E0
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#9E7191
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a657dc;
/* rgb */ color: rgb(166, 87, 220);
/* oklch */ color: oklch(60.9% 0.201 309.0);
Tailwind
colors: {
  custom: {
    50: '#c48ae7',
    500: '#a657dc',
    950: '#000000',
  },
}
SCSS
$custom: #a657dc;
$custom-light: #c48ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a657dc",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 275.639,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.20094,
    "h": 309
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#A657DC
secondary
#C3E1AE
accent
#CD1862
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A657DC

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

Preview Lab → · Contrast checker → · Palette generator →

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