#A657F2#A657F2

#A657F2 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.224 H 304.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A657F2
RGBrgb(166, 87, 242)
HSLhsl(271, 86%, 65%)
HSVhsv(271, 64%, 95%)
CMYKcmyk(31.4%, 64%, 0%, 5.1%)
CIE-LABlab(53.31, 60.15, -65.55)
CIE-LCHlch(53.31, 88.97, 312.54°)
OKLaboklab(62.37% 0.1254 -0.186)
OKLCHoklch(62.37% 0.224 304)
XYZxyz(35.1575, 21.3343, 86.2529)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A657F2 #A3F257
analogous
#5957F2 #A657F2 #F257F0
triadic
#A657F2 #F2A657 #57F2A6
tetradic
#A657F2 #F25957 #A3F257 #57F0F2
square
#A657F2 #F25957 #A3F257 #57F0F2
split-complementary
#A657F2 #F0F257 #57F259
monochromatic
#690FC0 #881EEE #A657F2 #C490F6 #E2C9FB

Accessibility & contrast

On white

3.99
#A657F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A657F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A657F2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A657F2#FFFFFF#000000##000000
##A657F21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#267FEF
Tritanopia (blue-blind)
#98799D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a657f2;
/* rgb */ color: rgb(166, 87, 242);
/* oklch */ color: oklch(62.4% 0.224 304.0);
Tailwind
colors: {
  custom: {
    50: '#c58bf7',
    500: '#a657f2',
    950: '#000000',
  },
}
SCSS
$custom: #a657f2;
$custom-light: #c58bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a657f2",
  "rgb": {
    "r": 166,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 270.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.22431,
    "h": 304
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#A657F2
secondary
#D2EDB8
accent
#E20371
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A657F2

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

Preview Lab → · Contrast checker → · Palette generator →

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