#A657EA#A657EA

#A657EA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.216 H 305.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A657EA
RGBrgb(166, 87, 234)
HSLhsl(272, 78%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(29.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(52.80, 58.32, -61.90)
CIE-LCHlch(52.80, 85.04, 313.30°)
OKLaboklab(61.84% 0.126 -0.1752)
OKLCHoklch(61.84% 0.216 305.7)
XYZxyz(33.9821, 20.8642, 80.0629)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657EA #9BEA57
analogous
#5C57EA #A657EA #EA57E4
triadic
#A657EA #EAA657 #57EAA6
tetradic
#A657EA #EA5C57 #9BEA57 #57E4EA
square
#A657EA #EA5C57 #9BEA57 #57E4EA
split-complementary
#A657EA #E4EA57 #57EA5C
monochromatic
#6916B1 #8921E3 #A657EA #C38DF1 #E0C4F8

Accessibility & contrast

On white

4.06
#A657EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A657EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657EA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657EA#FFFFFF#000000##000000
##A657EA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#347EE7
Tritanopia (blue-blind)
#9A7699
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a657ea;
/* rgb */ color: rgb(166, 87, 234);
/* oklch */ color: oklch(61.8% 0.216 305.7);
Tailwind
colors: {
  custom: {
    50: '#c58bf1',
    500: '#a657ea',
    950: '#000000',
  },
}
SCSS
$custom: #a657ea;
$custom-light: #c58bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a657ea",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 272.245,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.21582,
    "h": 305.7
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#A657EA
secondary
#CCE9B4
accent
#DA0B6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A657EA

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

Preview Lab → · Contrast checker → · Palette generator →

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