#A457E4#A457E4

#A457E4 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.209 H 306.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A457E4
RGBrgb(164, 87, 228)
HSLhsl(273, 72%, 62%)
HSVhsv(273, 62%, 89%)
CMYKcmyk(28.1%, 61.8%, 0%, 10.6%)
CIE-LABlab(52.19, 56.51, -59.52)
CIE-LCHlch(52.19, 82.08, 313.51°)
OKLaboklab(61.22% 0.1238 -0.1683)
OKLCHoklch(61.22% 0.209 306.3)
XYZxyz(32.7186, 20.3107, 75.5804)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457E4 #97E457
analogous
#5E57E4 #A457E4 #E457DE
triadic
#A457E4 #E4A457 #57E4A4
tetradic
#A457E4 #E45E57 #97E457 #57DEE4
square
#A457E4 #E45E57 #97E457 #57DEE4
split-complementary
#A457E4 #DEE457 #57E45E
monochromatic
#671BA6 #8723DB #A457E4 #C18CEC #DDC0F5

Accessibility & contrast

On white

4.15
#A457E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A457E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457E4#FFFFFF#000000##000000
##A457E41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#997496
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a457e4;
/* rgb */ color: rgb(164, 87, 228);
/* oklch */ color: oklch(61.2% 0.209 306.3);
Tailwind
colors: {
  custom: {
    50: '#c38aed',
    500: '#a457e4',
    950: '#000000',
  },
}
SCSS
$custom: #a457e4;
$custom-light: #c38aed;
$custom-dark: #000000;
JSON
{
  "hex": "#a457e4",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 272.766,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.20892,
    "h": 306.3
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#A457E4
secondary
#C9E6B1
accent
#D4116A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A457E4

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

Preview Lab → · Contrast checker → · Palette generator →

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