#A657B2#A657B2

#A657B2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.5% C 0.157 H 322.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A657B2
RGBrgb(166, 87, 178)
HSLhsl(292, 37%, 52%)
HSVhsv(292, 51%, 70%)
CMYKcmyk(6.7%, 51.1%, 0%, 30.2%)
CIE-LABlab(49.66, 46.33, -34.85)
CIE-LCHlch(49.66, 57.98, 323.05°)
OKLaboklab(58.54% 0.1242 -0.0963)
OKLCHoklch(58.54% 0.157 322.2)
XYZxyz(27.1691, 18.1389, 44.1809)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657B2 #63B257
analogous
#7957B2 #A657B2 #B25791
triadic
#A657B2 #B2A657 #57B2A6
tetradic
#A657B2 #B27957 #63B257 #5791B2
square
#A657B2 #B27957 #63B257 #5791B2
split-complementary
#A657B2 #91B257 #57B279
monochromatic
#5B2D62 #82408C #A657B2 #BC81C5 #D2ABD8

Accessibility & contrast

On white

4.54
#A657B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A657B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657B2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657B2#FFFFFF#000000##000000
##A657B21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#A8637C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a657b2;
/* rgb */ color: rgb(166, 87, 178);
/* oklch */ color: oklch(58.5% 0.157 322.2);
Tailwind
colors: {
  custom: {
    50: '#c289c9',
    500: '#a657b2',
    950: '#000000',
  },
}
SCSS
$custom: #a657b2;
$custom-light: #c289c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a657b2",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 292.088,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58535,
    "c": 0.15713,
    "h": 322.2
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#A657B2
secondary
#A4C69E
accent
#CD5B6A
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A657B2

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

Preview Lab → · Contrast checker → · Palette generator →

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