#A457EA#A457EA

#A457EA is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.215 H 305.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A457EA
RGBrgb(164, 87, 234)
HSLhsl(271, 78%, 63%)
HSVhsv(271, 63%, 92%)
CMYKcmyk(29.9%, 62.8%, 0%, 8.2%)
CIE-LABlab(52.56, 57.89, -62.29)
CIE-LCHlch(52.56, 85.03, 312.90°)
OKLaboklab(61.61% 0.1234 -0.1764)
OKLCHoklch(61.61% 0.215 305)
XYZxyz(33.5660, 20.6496, 80.0434)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457EA #9DEA57
analogous
#5B57EA #A457EA #EA57E6
triadic
#A457EA #EAA457 #57EAA4
tetradic
#A457EA #EA5B57 #9DEA57 #57E6EA
square
#A457EA #EA5B57 #9DEA57 #57E6EA
split-complementary
#A457EA #E6EA57 #57EA5B
monochromatic
#6716B1 #8721E3 #A457EA #C18DF1 #DFC4F8

Accessibility & contrast

On white

4.09
#A457EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A457EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457EA#FFFFFF#000000##000000
##A457EA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#977699
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a457ea;
/* rgb */ color: rgb(164, 87, 234);
/* oklch */ color: oklch(61.6% 0.215 305.0);
Tailwind
colors: {
  custom: {
    50: '#c38bf1',
    500: '#a457ea',
    950: '#000000',
  },
}
SCSS
$custom: #a457ea;
$custom-light: #c38bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a457ea",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 271.429,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.21534,
    "h": 305
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#A457EA
secondary
#CDE9B4
accent
#DA0B6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A457EA

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

Preview Lab → · Contrast checker → · Palette generator →

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