#A457D2#A457D2

#A457D2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.190 H 310.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A457D2
RGBrgb(164, 87, 210)
HSLhsl(278, 58%, 58%)
HSVhsv(278, 59%, 82%)
CMYKcmyk(21.9%, 58.6%, 0%, 17.6%)
CIE-LABlab(51.11, 52.48, -51.04)
CIE-LCHlch(51.11, 73.21, 315.80°)
OKLaboklab(60.09% 0.124 -0.1434)
OKLCHoklch(60.09% 0.19 310.8)
XYZxyz(30.3487, 19.3627, 63.0989)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457D2 #85D257
analogous
#6657D2 #A457D2 #D257C2
triadic
#A457D2 #D2A457 #57D2A4
tetradic
#A457D2 #D26657 #85D257 #57C2D2
square
#A457D2 #D26657 #85D257 #57C2D2
split-complementary
#A457D2 #C2D257 #57D266
monochromatic
#64258A #8732BA #A457D2 #BE87DF #D8B8EC

Accessibility & contrast

On white

4.31
#A457D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A457D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457D2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457D2#FFFFFF#000000##000000
##A457D21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#9E6E8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a457d2;
/* rgb */ color: rgb(164, 87, 210);
/* oklch */ color: oklch(60.1% 0.190 310.8);
Tailwind
colors: {
  custom: {
    50: '#c28ae0',
    500: '#a457d2',
    950: '#000000',
  },
}
SCSS
$custom: #a457d2;
$custom-light: #c28ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#a457d2",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 277.561,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.18963,
    "h": 310.8
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#A457D2
secondary
#BCDBAA
accent
#E14780
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A457D2

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

Preview Lab → · Contrast checker → · Palette generator →

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