#A657D7#A657D7

#A657D7 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.6% C 0.196 H 310.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A657D7
RGBrgb(166, 87, 215)
HSLhsl(277, 62%, 59%)
HSVhsv(277, 60%, 84%)
CMYKcmyk(22.8%, 59.5%, 0%, 15.7%)
CIE-LABlab(51.64, 54.07, -53.02)
CIE-LCHlch(51.64, 75.72, 315.56°)
OKLaboklab(60.63% 0.1266 -0.1492)
OKLCHoklch(60.63% 0.196 310.3)
XYZxyz(31.3975, 19.8303, 66.4504)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657D7 #88D757
analogous
#6657D7 #A657D7 #D757C8
triadic
#A657D7 #D7A657 #57D7A6
tetradic
#A657D7 #D76657 #88D757 #57C8D7
square
#A657D7 #D76657 #88D757 #57C8D7
split-complementary
#A657D7 #C8D757 #57D766
monochromatic
#672391 #8A2EC2 #A657D7 #C088E3 #DABAEF

Accessibility & contrast

On white

4.23
#A657D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A657D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657D7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657D7#FFFFFF#000000##000000
##A657D71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DB
Deuteranopia (green-blind)
#497CD4
Tritanopia (blue-blind)
#A06F8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a657d7;
/* rgb */ color: rgb(166, 87, 215);
/* oklch */ color: oklch(60.6% 0.196 310.3);
Tailwind
colors: {
  custom: {
    50: '#c48ae4',
    500: '#a657d7',
    950: '#000000',
  },
}
SCSS
$custom: #a657d7;
$custom-light: #c48ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#a657d7",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 277.031,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.19563,
    "h": 310.3
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#A657D7
secondary
#BFDEAC
accent
#E54381
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A657D7

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

Preview Lab → · Contrast checker → · Palette generator →

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