#A757EB#A757EB

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

Color values

HEX#A757EB
RGBrgb(167, 87, 235)
HSLhsl(272, 79%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(28.9%, 63%, 0%, 7.8%)
CIE-LABlab(52.98, 58.76, -62.16)
CIE-LCHlch(52.98, 85.54, 313.39°)
OKLaboklab(62.02% 0.1272 -0.176)
OKLCHoklch(62.02% 0.217 305.9)
XYZxyz(34.3367, 21.0303, 80.8315)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A757EB #9BEB57
analogous
#5D57EB #A757EB #EB57E5
triadic
#A757EB #EBA757 #57EBA7
tetradic
#A757EB #EB5D57 #9BEB57 #57E5EB
square
#A757EB #EB5D57 #9BEB57 #57E5EB
split-complementary
#A757EB #E5EB57 #57EB5D
monochromatic
#6A15B2 #8A20E4 #A757EB #C48EF2 #E0C4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A757EB#FFFFFF#000000##000000
##A757EB1.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)
#007CF0
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#9B7699
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a757eb;
/* rgb */ color: rgb(167, 87, 235);
/* oklch */ color: oklch(62.0% 0.217 305.9);
Tailwind
colors: {
  custom: {
    50: '#c58bf2',
    500: '#a757eb',
    950: '#000000',
  },
}
SCSS
$custom: #a757eb;
$custom-light: #c58bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a757eb",
  "rgb": {
    "r": 167,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 272.432,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62015,
    "c": 0.21714,
    "h": 305.9
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A757EB

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

Preview Lab → · Contrast checker → · Palette generator →

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