#A657C2#A657C2

#A657C2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.174 H 316.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A657C2
RGBrgb(166, 87, 194)
HSLhsl(284, 47%, 55%)
HSVhsv(284, 55%, 76%)
CMYKcmyk(14.4%, 55.2%, 0%, 23.9%)
CIE-LABlab(50.48, 49.57, -42.85)
CIE-LCHlch(50.48, 65.53, 319.16°)
OKLaboklab(59.4% 0.1258 -0.1195)
OKLCHoklch(59.4% 0.174 316.5)
XYZxyz(28.8702, 18.8194, 53.1402)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657C2 #73C257
analogous
#7057C2 #A657C2 #C257A9
triadic
#A657C2 #C2A657 #57C2A6
tetradic
#A657C2 #C27057 #73C257 #57A9C2
square
#A657C2 #C27057 #73C257 #57A9C2
split-complementary
#A657C2 #A9C257 #57C270
monochromatic
#612A74 #863BA1 #A657C2 #BE84D2 #D6B1E3

Accessibility & contrast

On white

4.41
#A657C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A657C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657C2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657C2#FFFFFF#000000##000000
##A657C21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#A56884
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a657c2;
/* rgb */ color: rgb(166, 87, 194);
/* oklch */ color: oklch(59.4% 0.174 316.5);
Tailwind
colors: {
  custom: {
    50: '#c38ad5',
    500: '#a657c2',
    950: '#000000',
  },
}
SCSS
$custom: #a657c2;
$custom-light: #c38ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#a657c2",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 284.299,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.17352,
    "h": 316.5
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#A657C2
secondary
#B0D1A4
accent
#D65174
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A657C2

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

Preview Lab → · Contrast checker → · Palette generator →

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