#A557EC#A557EC

#A557EC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.218 H 304.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A557EC
RGBrgb(165, 87, 236)
HSLhsl(271, 80%, 63%)
HSVhsv(271, 63%, 93%)
CMYKcmyk(30.1%, 63.1%, 0%, 7.5%)
CIE-LABlab(52.81, 58.56, -63.01)
CIE-LCHlch(52.81, 86.02, 312.90°)
OKLaboklab(61.86% 0.1246 -0.1785)
OKLCHoklch(61.86% 0.218 304.9)
XYZxyz(34.0622, 20.8720, 81.5749)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A557EC #9EEC57
analogous
#5A57EC #A557EC #EC57E9
triadic
#A557EC #ECA557 #57ECA5
tetradic
#A557EC #EC5A57 #9EEC57 #57E9EC
square
#A557EC #EC5A57 #9EEC57 #57E9EC
split-complementary
#A557EC #E9EC57 #57EC5A
monochromatic
#6814B4 #8820E6 #A557EC #C28EF2 #E0C5F8

Accessibility & contrast

On white

4.06
#A557EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A557EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A557EC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A557EC#FFFFFF#000000##000000
##A557EC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#307EE9
Tritanopia (blue-blind)
#98779A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a557ec;
/* rgb */ color: rgb(165, 87, 236);
/* oklch */ color: oklch(61.9% 0.218 304.9);
Tailwind
colors: {
  custom: {
    50: '#c48bf3',
    500: '#a557ec',
    950: '#000000',
  },
}
SCSS
$custom: #a557ec;
$custom-light: #c48bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a557ec",
  "rgb": {
    "r": 165,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 271.409,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.21771,
    "h": 304.9
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#A557EC
secondary
#CEEAB5
accent
#DC0A6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A557EC

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

Preview Lab → · Contrast checker → · Palette generator →

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