#A657D2#A657D2

#A657D2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.190 H 311.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A657D2
RGBrgb(166, 87, 210)
HSLhsl(279, 58%, 58%)
HSVhsv(279, 59%, 82%)
CMYKcmyk(21%, 58.6%, 0%, 17.6%)
CIE-LABlab(51.36, 52.97, -50.63)
CIE-LCHlch(51.36, 73.28, 316.30°)
OKLaboklab(60.33% 0.1265 -0.1422)
OKLCHoklch(60.33% 0.19 311.7)
XYZxyz(30.7648, 19.5772, 63.1184)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657D2 #83D257
analogous
#6957D2 #A657D2 #D257C0
triadic
#A657D2 #D2A657 #57D2A6
tetradic
#A657D2 #D26957 #83D257 #57C0D2
square
#A657D2 #D26957 #83D257 #57C0D2
split-complementary
#A657D2 #C0D257 #57D269
monochromatic
#66258A #8932BA #A657D2 #C087DF #D9B8EC

Accessibility & contrast

On white

4.27
#A657D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A657D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657D2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657D2#FFFFFF#000000##000000
##A657D21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#4D7CCF
Tritanopia (blue-blind)
#A16D8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a657d2;
/* rgb */ color: rgb(166, 87, 210);
/* oklch */ color: oklch(60.3% 0.190 311.7);
Tailwind
colors: {
  custom: {
    50: '#c38ae0',
    500: '#a657d2',
    950: '#000000',
  },
}
SCSS
$custom: #a657d2;
$custom-light: #c38ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#a657d2",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 278.537,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.19034,
    "h": 311.7
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#A657D2
secondary
#BBDBAA
accent
#E1477E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A657D2

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

Preview Lab → · Contrast checker → · Palette generator →

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