#A857FA#A857FA

#A857FA is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.1% C 0.233 H 303.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A857FA
RGBrgb(168, 87, 250)
HSLhsl(270, 94%, 66%)
HSVhsv(270, 65%, 98%)
CMYKcmyk(32.8%, 65.2%, 0%, 2%)
CIE-LABlab(54.07, 62.41, -68.77)
CIE-LCHlch(54.07, 92.87, 312.23°)
OKLaboklab(63.14% 0.1273 -0.1954)
OKLCHoklch(63.14% 0.233 303.1)
XYZxyz(36.8080, 22.0434, 92.7396)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857FA #A9FA57
analogous
#5757FA #A857FA #FA57FA
triadic
#A857FA #FAA857 #57FAA8
tetradic
#A857FA #FA5757 #A9FA57 #57FAFA
square
#A857FA #FA5757 #A9FA57 #57FAFA
split-complementary
#A857FA #FAFA57 #57FA57
monochromatic
#6B06D0 #891CF8 #A857FA #C792FC #E6CEFE

Accessibility & contrast

On white

3.88
#A857FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A857FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857FA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857FA#FFFFFF#000000##000000
##A857FA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#1681F6
Tritanopia (blue-blind)
#987BA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a857fa;
/* rgb */ color: rgb(168, 87, 250);
/* oklch */ color: oklch(63.1% 0.233 303.1);
Tailwind
colors: {
  custom: {
    50: '#c78bfd',
    500: '#a857fa',
    950: '#000000',
  },
}
SCSS
$custom: #a857fa;
$custom-light: #c78bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a857fa",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 269.816,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63136,
    "c": 0.23317,
    "h": 303.1
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#A857FA
secondary
#D7F1BC
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A857FA

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

Preview Lab → · Contrast checker → · Palette generator →

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