#A757EA#A757EA

#A757EA is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.216 H 306.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A757EA
RGBrgb(167, 87, 234)
HSLhsl(273, 78%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.6%, 62.8%, 0%, 8.2%)
CIE-LABlab(52.92, 58.54, -61.70)
CIE-LCHlch(52.92, 85.05, 313.49°)
OKLaboklab(61.95% 0.1273 -0.1746)
OKLCHoklch(61.95% 0.216 306.1)
XYZxyz(34.1926, 20.9727, 80.0728)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A757EA #9AEA57
analogous
#5D57EA #A757EA #EA57E4
triadic
#A757EA #EAA757 #57EAA7
tetradic
#A757EA #EA5D57 #9AEA57 #57E4EA
square
#A757EA #EA5D57 #9AEA57 #57E4EA
split-complementary
#A757EA #E4EA57 #57EA5D
monochromatic
#6A16B1 #8B21E3 #A757EA #C38DF1 #E0C4F8

Accessibility & contrast

On white

4.04
#A757EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A757EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A757EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A757EA#FFFFFF#000000##000000
##A757EA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#9C7699
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a757ea;
/* rgb */ color: rgb(167, 87, 234);
/* oklch */ color: oklch(62.0% 0.216 306.1);
Tailwind
colors: {
  custom: {
    50: '#c58bf1',
    500: '#a757ea',
    950: '#000000',
  },
}
SCSS
$custom: #a757ea;
$custom-light: #c58bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a757ea",
  "rgb": {
    "r": 167,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 272.653,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6195,
    "c": 0.21608,
    "h": 306.1
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#A757EA
secondary
#CCE9B4
accent
#DA0B6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A757EA

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

Preview Lab → · Contrast checker → · Palette generator →

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