#A457EC#A457EC

#A457EC is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.217 H 304.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A457EC
RGBrgb(164, 87, 236)
HSLhsl(271, 80%, 63%)
HSVhsv(271, 63%, 93%)
CMYKcmyk(30.5%, 63.1%, 0%, 7.5%)
CIE-LABlab(52.69, 58.35, -63.21)
CIE-LCHlch(52.69, 86.02, 312.71°)
OKLaboklab(61.75% 0.1233 -0.1791)
OKLCHoklch(61.75% 0.217 304.5)
XYZxyz(33.8550, 20.7652, 81.5651)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457EC #9FEC57
analogous
#5957EC #A457EC #EC57E9
triadic
#A457EC #ECA457 #57ECA4
tetradic
#A457EC #EC5957 #9FEC57 #57E9EC
square
#A457EC #EC5957 #9FEC57 #57E9EC
split-complementary
#A457EC #E9EC57 #57EC59
monochromatic
#6714B4 #8620E6 #A457EC #C28EF2 #E0C5F8

Accessibility & contrast

On white

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

On black

5.15
#A457EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457EC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457EC#FFFFFF#000000##000000
##A457EC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#97779A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a457ec;
/* rgb */ color: rgb(164, 87, 236);
/* oklch */ color: oklch(61.7% 0.217 304.5);
Tailwind
colors: {
  custom: {
    50: '#c48bf3',
    500: '#a457ec',
    950: '#000000',
  },
}
SCSS
$custom: #a457ec;
$custom-light: #c48bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a457ec",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 271.007,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61747,
    "c": 0.21748,
    "h": 304.5
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#A457EC
secondary
#CFEAB5
accent
#DC0A6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A457EC

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

Preview Lab → · Contrast checker → · Palette generator →

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