#A657EE#A657EE

#A657EE is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.220 H 304.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A657EE
RGBrgb(166, 87, 238)
HSLhsl(271, 82%, 64%)
HSVhsv(271, 63%, 93%)
CMYKcmyk(30.3%, 63.4%, 0%, 6.7%)
CIE-LABlab(53.06, 59.23, -63.73)
CIE-LCHlch(53.06, 87.01, 312.91°)
OKLaboklab(62.1% 0.1257 -0.1806)
OKLCHoklch(62.1% 0.22 304.8)
XYZxyz(34.5633, 21.0966, 83.1235)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657EE #9FEE57
analogous
#5A57EE #A657EE #EE57EA
triadic
#A657EE #EEA657 #57EEA6
tetradic
#A657EE #EE5A57 #9FEE57 #57EAEE
square
#A657EE #EE5A57 #9FEE57 #57EAEE
split-complementary
#A657EE #EAEE57 #57EE5A
monochromatic
#6913B8 #891FE8 #A657EE #C38FF4 #E1C6F9

Accessibility & contrast

On white

4.02
#A657EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A657EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657EE#FFFFFF#000000##000000
##A657EE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#2E7FEB
Tritanopia (blue-blind)
#99779B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a657ee;
/* rgb */ color: rgb(166, 87, 238);
/* oklch */ color: oklch(62.1% 0.220 304.8);
Tailwind
colors: {
  custom: {
    50: '#c58bf4',
    500: '#a657ee',
    950: '#000000',
  },
}
SCSS
$custom: #a657ee;
$custom-light: #c58bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a657ee",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 271.391,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.22007,
    "h": 304.8
  },
  "luminance": 0.21096
}

Semantic roles & 50–950 ramp

primary
#A657EE
secondary
#CFEBB6
accent
#DE086E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A657EE

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

Preview Lab → · Contrast checker → · Palette generator →

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