#A657DF#A657DF

#A657DF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.204 H 308.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A657DF
RGBrgb(166, 87, 223)
HSLhsl(275, 68%, 61%)
HSVhsv(275, 61%, 87%)
CMYKcmyk(25.6%, 61%, 0%, 12.5%)
CIE-LABlab(52.12, 55.84, -56.79)
CIE-LCHlch(52.12, 79.64, 314.52°)
OKLaboklab(61.13% 0.1265 -0.1602)
OKLCHoklch(61.13% 0.204 308.3)
XYZxyz(32.4507, 20.2516, 71.9972)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657DF #90DF57
analogous
#6257DF #A657DF #DF57D4
triadic
#A657DF #DFA657 #57DFA6
tetradic
#A657DF #DF6257 #90DF57 #57D4DF
square
#A657DF #DF6257 #90DF57 #57D4DF
split-complementary
#A657DF #D4DF57 #57DF62
monochromatic
#681E9E #8A28D1 #A657DF #C18AE9 #DCBEF3

Accessibility & contrast

On white

4.16
#A657DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A657DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657DF#FFFFFF#000000##000000
##A657DF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#427DDC
Tritanopia (blue-blind)
#9D7293
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a657df;
/* rgb */ color: rgb(166, 87, 223);
/* oklch */ color: oklch(61.1% 0.204 308.3);
Tailwind
colors: {
  custom: {
    50: '#c48aea',
    500: '#a657df',
    950: '#000000',
  },
}
SCSS
$custom: #a657df;
$custom-light: #c48aea;
$custom-dark: #000000;
JSON
{
  "hex": "#a657df",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 274.853,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.20414,
    "h": 308.3
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#A657DF
secondary
#C5E3AF
accent
#D01664
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A657DF

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

Preview Lab → · Contrast checker → · Palette generator →

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