#A857E4#A857E4

#A857E4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.210 H 307.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A857E4
RGBrgb(168, 87, 228)
HSLhsl(274, 72%, 62%)
HSVhsv(274, 62%, 89%)
CMYKcmyk(26.3%, 61.8%, 0%, 10.6%)
CIE-LABlab(52.67, 57.41, -58.72)
CIE-LCHlch(52.67, 82.12, 314.35°)
OKLaboklab(61.67% 0.1288 -0.1658)
OKLCHoklch(61.67% 0.21 307.8)
XYZxyz(33.5574, 20.7431, 75.6198)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857E4 #93E457
analogous
#6257E4 #A857E4 #E457DA
triadic
#A857E4 #E4A857 #57E4A8
tetradic
#A857E4 #E46257 #93E457 #57DAE4
square
#A857E4 #E46257 #93E457 #57DAE4
split-complementary
#A857E4 #DAE457 #57E462
monochromatic
#6B1BA6 #8D23DB #A857E4 #C38CEC #DFC0F5

Accessibility & contrast

On white

4.08
#A857E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A857E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857E4#FFFFFF#000000##000000
##A857E41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#037BE8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#9F7396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a857e4;
/* rgb */ color: rgb(168, 87, 228);
/* oklch */ color: oklch(61.7% 0.210 307.8);
Tailwind
colors: {
  custom: {
    50: '#c68bed',
    500: '#a857e4',
    950: '#000000',
  },
}
SCSS
$custom: #a857e4;
$custom-light: #c68bed;
$custom-dark: #000000;
JSON
{
  "hex": "#a857e4",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 274.468,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.21001,
    "h": 307.8
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#A857E4
secondary
#C8E6B1
accent
#D41164
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A857E4

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

Preview Lab → · Contrast checker → · Palette generator →

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