#A457E1#A457E1

#A457E1 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.206 H 307.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A457E1
RGBrgb(164, 87, 225)
HSLhsl(273, 70%, 61%)
HSVhsv(273, 61%, 88%)
CMYKcmyk(27.1%, 61.3%, 0%, 11.8%)
CIE-LABlab(52.00, 55.83, -58.13)
CIE-LCHlch(52.00, 80.60, 313.85°)
OKLaboklab(61.03% 0.1239 -0.1642)
OKLCHoklch(61.03% 0.206 307)
XYZxyz(32.3058, 20.1455, 73.4061)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457E1 #94E157
analogous
#5F57E1 #A457E1 #E157D9
triadic
#A457E1 #E1A457 #57E1A4
tetradic
#A457E1 #E15F57 #94E157 #57D9E1
square
#A457E1 #E15F57 #94E157 #57D9E1
split-complementary
#A457E1 #D9E157 #57E15F
monochromatic
#661DA1 #8826D5 #A457E1 #C08BEA #DCBFF4

Accessibility & contrast

On white

4.18
#A457E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A457E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457E1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457E1#FFFFFF#000000##000000
##A457E11.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0979E5
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#9A7394
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a457e1;
/* rgb */ color: rgb(164, 87, 225);
/* oklch */ color: oklch(61.0% 0.206 307.0);
Tailwind
colors: {
  custom: {
    50: '#c38aeb',
    500: '#a457e1',
    950: '#000000',
  },
}
SCSS
$custom: #a457e1;
$custom-light: #c38aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a457e1",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 273.478,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.2057,
    "h": 307
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#A457E1
secondary
#C7E4B0
accent
#D21468
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A457E1

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

Preview Lab → · Contrast checker → · Palette generator →

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