#A557EA#A557EA

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

Color values

HEX#A557EA
RGBrgb(165, 87, 234)
HSLhsl(272, 78%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(29.5%, 62.8%, 0%, 8.2%)
CIE-LABlab(52.68, 58.10, -62.09)
CIE-LCHlch(52.68, 85.04, 313.10°)
OKLaboklab(61.73% 0.1247 -0.1758)
OKLCHoklch(61.73% 0.216 305.3)
XYZxyz(33.7733, 20.7565, 80.0531)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A557EA #9CEA57
analogous
#5B57EA #A557EA #EA57E5
triadic
#A557EA #EAA557 #57EAA5
tetradic
#A557EA #EA5B57 #9CEA57 #57E5EA
square
#A557EA #EA5B57 #9CEA57 #57E5EA
split-complementary
#A557EA #E5EA57 #57EA5B
monochromatic
#6816B1 #8821E3 #A557EA #C28DF1 #DFC4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A557EA#FFFFFF#000000##000000
##A557EA1.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)
#007BEF
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#997699
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a557ea;
/* rgb */ color: rgb(165, 87, 234);
/* oklch */ color: oklch(61.7% 0.216 305.3);
Tailwind
colors: {
  custom: {
    50: '#c48bf1',
    500: '#a557ea',
    950: '#000000',
  },
}
SCSS
$custom: #a557ea;
$custom-light: #c48bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a557ea",
  "rgb": {
    "r": 165,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 271.837,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.21558,
    "h": 305.3
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#A557EA
secondary
#CDE9B4
accent
#DA0B6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A557EA

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

Preview Lab → · Contrast checker → · Palette generator →

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