#A457EF#A457EF

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

Color values

HEX#A457EF
RGBrgb(164, 87, 239)
HSLhsl(270, 83%, 64%)
HSVhsv(270, 64%, 94%)
CMYKcmyk(31.4%, 63.6%, 0%, 6.3%)
CIE-LABlab(52.88, 59.04, -64.58)
CIE-LCHlch(52.88, 87.50, 312.44°)
OKLaboklab(61.95% 0.1231 -0.1832)
OKLCHoklch(61.95% 0.221 303.9)
XYZxyz(34.2945, 20.9410, 83.8799)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457EF #A2EF57
analogous
#5857EF #A457EF #EF57EE
triadic
#A457EF #EFA457 #57EFA4
tetradic
#A457EF #EF5857 #A2EF57 #57EEEF
square
#A457EF #EF5857 #A2EF57 #57EEEF
split-complementary
#A457EF #EEEF57 #57EF58
monochromatic
#6712BA #861FEA #A457EF #C28FF4 #E1C7FA

Accessibility & contrast

On white

4.05
#A457EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A457EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457EF#FFFFFF#000000##000000
##A457EF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#287EEC
Tritanopia (blue-blind)
#96789B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a457ef;
/* rgb */ color: rgb(164, 87, 239);
/* oklch */ color: oklch(61.9% 0.221 303.9);
Tailwind
colors: {
  custom: {
    50: '#c48bf5',
    500: '#a457ef',
    950: '#000000',
  },
}
SCSS
$custom: #a457ef;
$custom-light: #c48bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a457ef",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 270.395,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.22068,
    "h": 303.9
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#A457EF
secondary
#D1ECB6
accent
#DF0671
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A457EF

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

Preview Lab → · Contrast checker → · Palette generator →

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