#A657E7#A657E7

#A657E7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.213 H 306.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A657E7
RGBrgb(166, 87, 231)
HSLhsl(273, 75%, 62%)
HSVhsv(273, 62%, 91%)
CMYKcmyk(28.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(52.61, 57.64, -60.51)
CIE-LCHlch(52.61, 83.57, 313.61°)
OKLaboklab(61.64% 0.1262 -0.1712)
OKLCHoklch(61.64% 0.213 306.4)
XYZxyz(33.5548, 20.6932, 77.8123)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657E7 #98E757
analogous
#5E57E7 #A657E7 #E757E0
triadic
#A657E7 #E7A657 #57E7A6
tetradic
#A657E7 #E75E57 #98E757 #57E0E7
square
#A657E7 #E75E57 #98E757 #57E0E7
split-complementary
#A657E7 #E0E757 #57E75E
monochromatic
#6918AB #8A21DF #A657E7 #C28DEF #DFC2F6

Accessibility & contrast

On white

4.09
#A657E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A657E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657E7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657E7#FFFFFF#000000##000000
##A657E71.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#9B7597
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a657e7;
/* rgb */ color: rgb(166, 87, 231);
/* oklch */ color: oklch(61.6% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#c58bef',
    500: '#a657e7',
    950: '#000000',
  },
}
SCSS
$custom: #a657e7;
$custom-light: #c58bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a657e7",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 272.917,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.21264,
    "h": 306.4
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#A657E7
secondary
#CAE7B3
accent
#D70E69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A657E7

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

Preview Lab → · Contrast checker → · Palette generator →

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