#A857E3#A857E3

#A857E3 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.209 H 308.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A857E3
RGBrgb(168, 87, 227)
HSLhsl(275, 71%, 62%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(26%, 61.7%, 0%, 11%)
CIE-LABlab(52.61, 57.19, -58.26)
CIE-LCHlch(52.61, 81.64, 314.47°)
OKLaboklab(61.61% 0.1289 -0.1645)
OKLCHoklch(61.61% 0.209 308.1)
XYZxyz(33.4190, 20.6878, 74.8908)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857E3 #92E357
analogous
#6257E3 #A857E3 #E357D8
triadic
#A857E3 #E3A857 #57E3A8
tetradic
#A857E3 #E36257 #92E357 #57D8E3
square
#A857E3 #E36257 #92E357 #57D8E3
split-complementary
#A857E3 #D8E357 #57E362
monochromatic
#6B1BA4 #8D24D9 #A857E3 #C38BEC #DEC0F4

Accessibility & contrast

On white

4.09
#A857E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A857E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857E3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857E3#FFFFFF#000000##000000
##A857E31.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#097AE7
Deuteranopia (green-blind)
#407EE0
Tritanopia (blue-blind)
#9F7395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a857e3;
/* rgb */ color: rgb(168, 87, 227);
/* oklch */ color: oklch(61.6% 0.209 308.1);
Tailwind
colors: {
  custom: {
    50: '#c68bec',
    500: '#a857e3',
    950: '#000000',
  },
}
SCSS
$custom: #a857e3;
$custom-light: #c68bec;
$custom-dark: #000000;
JSON
{
  "hex": "#a857e3",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 274.714,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.20895,
    "h": 308.1
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#A857E3
secondary
#C7E5B1
accent
#D31264
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A857E3

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

Preview Lab → · Contrast checker → · Palette generator →

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