#A857F3#A857F3

#A857F3 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.226 H 304.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A857F3
RGBrgb(168, 87, 243)
HSLhsl(271, 87%, 65%)
HSVhsv(271, 64%, 95%)
CMYKcmyk(30.9%, 64.2%, 0%, 4.7%)
CIE-LABlab(53.61, 60.80, -65.61)
CIE-LCHlch(53.61, 89.45, 312.82°)
OKLaboklab(62.66% 0.1279 -0.1861)
OKLCHoklch(62.66% 0.226 304.5)
XYZxyz(35.7307, 21.6124, 87.0659)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857F3 #A2F357
analogous
#5A57F3 #A857F3 #F357F0
triadic
#A857F3 #F3A857 #57F3A8
tetradic
#A857F3 #F35A57 #A2F357 #57F0F3
square
#A857F3 #F35A57 #A2F357 #57F0F3
split-complementary
#A857F3 #F0F357 #57F35A
monochromatic
#6B0EC2 #8A1EEF #A857F3 #C690F7 #E3C9FB

Accessibility & contrast

On white

3.95
#A857F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A857F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857F3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857F3#FFFFFF#000000##000000
##A857F31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#2880F0
Tritanopia (blue-blind)
#9A799E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a857f3;
/* rgb */ color: rgb(168, 87, 243);
/* oklch */ color: oklch(62.7% 0.226 304.5);
Tailwind
colors: {
  custom: {
    50: '#c78bf8',
    500: '#a857f3',
    950: '#000000',
  },
}
SCSS
$custom: #a857f3;
$custom-light: #c78bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a857f3",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 271.154,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.22581,
    "h": 304.5
  },
  "luminance": 0.21612
}

Semantic roles & 50–950 ramp

primary
#A857F3
secondary
#D2EEB8
accent
#E3026E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A857F3

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

Preview Lab → · Contrast checker → · Palette generator →

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