#A557EF#A557EF

#A557EF is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.221 H 304.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A557EF
RGBrgb(165, 87, 239)
HSLhsl(271, 83%, 64%)
HSVhsv(271, 64%, 94%)
CMYKcmyk(31%, 63.6%, 0%, 6.3%)
CIE-LABlab(53.00, 59.25, -64.38)
CIE-LCHlch(53.00, 87.50, 312.62°)
OKLaboklab(62.06% 0.1244 -0.1826)
OKLCHoklch(62.06% 0.221 304.3)
XYZxyz(34.5017, 21.0478, 83.8896)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A557EF #A1EF57
analogous
#5957EF #A557EF #EF57ED
triadic
#A557EF #EFA557 #57EFA5
tetradic
#A557EF #EF5957 #A1EF57 #57EDEF
square
#A557EF #EF5957 #A1EF57 #57EDEF
split-complementary
#A557EF #EDEF57 #57EF59
monochromatic
#6812BA #871FEA #A557EF #C38FF4 #E1C7FA

Accessibility & contrast

On white

4.03
#A557EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A557EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A557EF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A557EF#FFFFFF#000000##000000
##A557EF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#2A7EEC
Tritanopia (blue-blind)
#97789B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a557ef;
/* rgb */ color: rgb(165, 87, 239);
/* oklch */ color: oklch(62.1% 0.221 304.3);
Tailwind
colors: {
  custom: {
    50: '#c48bf5',
    500: '#a557ef',
    950: '#000000',
  },
}
SCSS
$custom: #a557ef;
$custom-light: #c48bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a557ef",
  "rgb": {
    "r": 165,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 270.789,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.2209,
    "h": 304.3
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#A557EF
secondary
#D0ECB6
accent
#DF0670
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A557EF

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

Preview Lab → · Contrast checker → · Palette generator →

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