#A857F5#A857F5

#A857F5 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.228 H 304.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A857F5
RGBrgb(168, 87, 245)
HSLhsl(271, 89%, 65%)
HSVhsv(271, 64%, 96%)
CMYKcmyk(31.4%, 64.5%, 0%, 3.9%)
CIE-LABlab(53.74, 61.26, -66.52)
CIE-LCHlch(53.74, 90.43, 312.64°)
OKLaboklab(62.79% 0.1278 -0.1887)
OKLCHoklch(62.79% 0.228 304.1)
XYZxyz(36.0343, 21.7339, 88.6652)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857F5 #A4F557
analogous
#5957F5 #A857F5 #F557F3
triadic
#A857F5 #F5A857 #57F5A8
tetradic
#A857F5 #F55957 #A4F557 #57F3F5
square
#A857F5 #F55957 #A4F557 #57F3F5
split-complementary
#A857F5 #F3F557 #57F559
monochromatic
#6B0CC6 #8A1DF2 #A857F5 #C691F8 #E4CBFC

Accessibility & contrast

On white

3.93
#A857F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A857F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857F5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857F5#FFFFFF#000000##000000
##A857F51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#2480F2
Tritanopia (blue-blind)
#9A799F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a857f5;
/* rgb */ color: rgb(168, 87, 245);
/* oklch */ color: oklch(62.8% 0.228 304.1);
Tailwind
colors: {
  custom: {
    50: '#c78bf9',
    500: '#a857f5',
    950: '#000000',
  },
}
SCSS
$custom: #a857f5;
$custom-light: #c78bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a857f5",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 270.759,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.22791,
    "h": 304.1
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#A857F5
secondary
#D3EFB9
accent
#E50070
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A857F5

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

Preview Lab → · Contrast checker → · Palette generator →

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