#A757EC#A757EC

#A757EC is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.218 H 305.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A757EC
RGBrgb(167, 87, 236)
HSLhsl(272, 80%, 63%)
HSVhsv(272, 63%, 93%)
CMYKcmyk(29.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(53.05, 58.99, -62.62)
CIE-LCHlch(53.05, 86.03, 313.29°)
OKLaboklab(62.08% 0.1272 -0.1773)
OKLCHoklch(62.08% 0.218 305.6)
XYZxyz(34.4816, 21.0883, 81.5945)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A757EC #9CEC57
analogous
#5C57EC #A757EC #EC57E6
triadic
#A757EC #ECA757 #57ECA7
tetradic
#A757EC #EC5C57 #9CEC57 #57E6EC
square
#A757EC #EC5C57 #9CEC57 #57E6EC
split-complementary
#A757EC #E6EC57 #57EC5C
monochromatic
#6A14B4 #8A20E6 #A757EC #C48EF2 #E1C5F8

Accessibility & contrast

On white

4.02
#A757EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A757EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A757EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A757EC#FFFFFF#000000##000000
##A757EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#9B769A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a757ec;
/* rgb */ color: rgb(167, 87, 236);
/* oklch */ color: oklch(62.1% 0.218 305.6);
Tailwind
colors: {
  custom: {
    50: '#c68bf3',
    500: '#a757ec',
    950: '#000000',
  },
}
SCSS
$custom: #a757ec;
$custom-light: #c68bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a757ec",
  "rgb": {
    "r": 167,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 272.215,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62081,
    "c": 0.2182,
    "h": 305.6
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#A757EC
secondary
#CDEAB5
accent
#DC0A6B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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