#A657F0#A657F0

#A657F0 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.222 H 304.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A657F0
RGBrgb(166, 87, 240)
HSLhsl(271, 84%, 64%)
HSVhsv(271, 64%, 94%)
CMYKcmyk(30.8%, 63.7%, 0%, 5.9%)
CIE-LABlab(53.18, 59.69, -64.64)
CIE-LCHlch(53.18, 87.99, 312.72°)
OKLaboklab(62.24% 0.1256 -0.1833)
OKLCHoklch(62.24% 0.222 304.4)
XYZxyz(34.8587, 21.2148, 84.6796)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657F0 #A1F057
analogous
#5A57F0 #A657F0 #F057EE
triadic
#A657F0 #F0A657 #57F0A6
tetradic
#A657F0 #F05A57 #A1F057 #57EEF0
square
#A657F0 #F05A57 #A1F057 #57EEF0
split-complementary
#A657F0 #EEF057 #57F05A
monochromatic
#6911BC #881FEB #A657F0 #C48FF5 #E2C7FA

Accessibility & contrast

On white

4.01
#A657F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A657F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657F0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657F0#FFFFFF#000000##000000
##A657F01.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#2A7FED
Tritanopia (blue-blind)
#98789C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a657f0;
/* rgb */ color: rgb(166, 87, 240);
/* oklch */ color: oklch(62.2% 0.222 304.4);
Tailwind
colors: {
  custom: {
    50: '#c58bf6',
    500: '#a657f0',
    950: '#000000',
  },
}
SCSS
$custom: #a657f0;
$custom-light: #c58bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a657f0",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 270.98,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.22219,
    "h": 304.4
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#A657F0
secondary
#D1ECB7
accent
#E0056F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A657F0

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

Preview Lab → · Contrast checker → · Palette generator →

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