#A457EE#A457EE

#A457EE is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.220 H 304.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A457EE
RGBrgb(164, 87, 238)
HSLhsl(271, 82%, 64%)
HSVhsv(271, 63%, 93%)
CMYKcmyk(31.1%, 63.4%, 0%, 6.7%)
CIE-LABlab(52.82, 58.81, -64.12)
CIE-LCHlch(52.82, 87.00, 312.53°)
OKLaboklab(61.88% 0.1232 -0.1818)
OKLCHoklch(61.88% 0.22 304.1)
XYZxyz(34.1472, 20.8821, 83.1040)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457EE #A1EE57
analogous
#5857EE #A457EE #EE57ED
triadic
#A457EE #EEA457 #57EEA4
tetradic
#A457EE #EE5857 #A1EE57 #57EDEE
square
#A457EE #EE5857 #A1EE57 #57EDEE
split-complementary
#A457EE #EDEE57 #57EE58
monochromatic
#6713B8 #861FE8 #A457EE #C28FF4 #E0C6F9

Accessibility & contrast

On white

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

On black

5.18
#A457EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457EE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457EE#FFFFFF#000000##000000
##A457EE1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#96779B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a457ee;
/* rgb */ color: rgb(164, 87, 238);
/* oklch */ color: oklch(61.9% 0.220 304.1);
Tailwind
colors: {
  custom: {
    50: '#c48bf4',
    500: '#a457ee',
    950: '#000000',
  },
}
SCSS
$custom: #a457ee;
$custom-light: #c48bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a457ee",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 270.596,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.21962,
    "h": 304.1
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#A457EE
secondary
#D0EBB6
accent
#DE0871
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A457EE

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

Preview Lab → · Contrast checker → · Palette generator →

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