#A657DB#A657DB

#A657DB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.9% C 0.200 H 309.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A657DB
RGBrgb(166, 87, 219)
HSLhsl(276, 65%, 60%)
HSVhsv(276, 60%, 86%)
CMYKcmyk(24.2%, 60.3%, 0%, 14.1%)
CIE-LABlab(51.88, 54.95, -54.91)
CIE-LCHlch(51.88, 77.68, 315.02°)
OKLaboklab(60.88% 0.1265 -0.1547)
OKLCHoklch(60.88% 0.2 309.3)
XYZxyz(31.9178, 20.0384, 69.1905)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657DB #8CDB57
analogous
#6457DB #A657DB #DB57CE
triadic
#A657DB #DBA657 #57DBA6
tetradic
#A657DB #DB6457 #8CDB57 #57CEDB
square
#A657DB #DB6457 #8CDB57 #57CEDB
split-complementary
#A657DB #CEDB57 #57DB64
monochromatic
#672097 #8A2BCA #A657DB #C189E6 #DBBCF1

Accessibility & contrast

On white

4.19
#A657DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A657DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657DB#FFFFFF#000000##000000
##A657DB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E78DF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#9F7091
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a657db;
/* rgb */ color: rgb(166, 87, 219);
/* oklch */ color: oklch(60.9% 0.200 309.3);
Tailwind
colors: {
  custom: {
    50: '#c48ae7',
    500: '#a657db',
    950: '#000000',
  },
}
SCSS
$custom: #a657db;
$custom-light: #c48ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a657db",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 275.909,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.19988,
    "h": 309.3
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

primary
#A657DB
secondary
#C2E0AD
accent
#E84083
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A657DB

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

Preview Lab → · Contrast checker → · Palette generator →

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