#A457EB#A457EB

#A457EB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.216 H 304.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A457EB
RGBrgb(164, 87, 235)
HSLhsl(271, 79%, 63%)
HSVhsv(271, 63%, 92%)
CMYKcmyk(30.2%, 63%, 0%, 7.8%)
CIE-LABlab(52.63, 58.12, -62.75)
CIE-LCHlch(52.63, 85.53, 312.81°)
OKLaboklab(61.68% 0.1234 -0.1778)
OKLCHoklch(61.68% 0.216 304.8)
XYZxyz(33.7101, 20.7072, 80.8021)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457EB #9EEB57
analogous
#5A57EB #A457EB #EB57E8
triadic
#A457EB #EBA457 #57EBA4
tetradic
#A457EB #EB5A57 #9EEB57 #57E8EB
square
#A457EB #EB5A57 #9EEB57 #57E8EB
split-complementary
#A457EB #E8EB57 #57EB5A
monochromatic
#6715B2 #8620E4 #A457EB #C28EF2 #DFC4F8

Accessibility & contrast

On white

4.08
#A457EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A457EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457EB#FFFFFF#000000##000000
##A457EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#977699
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a457eb;
/* rgb */ color: rgb(164, 87, 235);
/* oklch */ color: oklch(61.7% 0.216 304.8);
Tailwind
colors: {
  custom: {
    50: '#c38bf2',
    500: '#a457eb',
    950: '#000000',
  },
}
SCSS
$custom: #a457eb;
$custom-light: #c38bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a457eb",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 271.216,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.21641,
    "h": 304.8
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#A457EB
secondary
#CEE9B4
accent
#DB0A6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A457EB

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

Preview Lab → · Contrast checker → · Palette generator →

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