#A757EF#A757EF

#A757EF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.221 H 305.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A757EF
RGBrgb(167, 87, 239)
HSLhsl(272, 83%, 64%)
HSVhsv(272, 64%, 94%)
CMYKcmyk(30.1%, 63.6%, 0%, 6.3%)
CIE-LABlab(53.24, 59.68, -63.99)
CIE-LCHlch(53.24, 87.50, 313.00°)
OKLaboklab(62.28% 0.127 -0.1813)
OKLCHoklch(62.28% 0.221 305)
XYZxyz(34.9211, 21.2641, 83.9093)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A757EF #9FEF57
analogous
#5B57EF #A757EF #EF57EB
triadic
#A757EF #EFA757 #57EFA7
tetradic
#A757EF #EF5B57 #9FEF57 #57EBEF
square
#A757EF #EF5B57 #9FEF57 #57EBEF
split-complementary
#A757EF #EBEF57 #57EF5B
monochromatic
#6A12BA #8A1FEA #A757EF #C48FF4 #E2C7FA

Accessibility & contrast

On white

4.00
#A757EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A757EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A757EF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A757EF#FFFFFF#000000##000000
##A757EF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#2E7FEC
Tritanopia (blue-blind)
#9A779B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a757ef;
/* rgb */ color: rgb(167, 87, 239);
/* oklch */ color: oklch(62.3% 0.221 305.0);
Tailwind
colors: {
  custom: {
    50: '#c68bf5',
    500: '#a757ef',
    950: '#000000',
  },
}
SCSS
$custom: #a757ef;
$custom-light: #c68bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a757ef",
  "rgb": {
    "r": 167,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 271.579,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.22137,
    "h": 305
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#A757EF
secondary
#CFECB6
accent
#DF066D
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A757EF

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

Preview Lab → · Contrast checker → · Palette generator →

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