#A157EE#A157EE

#A157EE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.219 H 303.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A157EE
RGBrgb(161, 87, 238)
HSLhsl(269, 82%, 64%)
HSVhsv(269, 63%, 93%)
CMYKcmyk(32.4%, 63.4%, 0%, 6.7%)
CIE-LABlab(52.47, 58.17, -64.70)
CIE-LCHlch(52.47, 87.01, 311.96°)
OKLaboklab(61.55% 0.1193 -0.1836)
OKLCHoklch(61.55% 0.219 303)
XYZxyz(33.5352, 20.5665, 83.0753)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157EE #A4EE57
analogous
#5758EE #A157EE #ED57EE
triadic
#A157EE #EEA157 #57EEA1
tetradic
#A157EE #EE5758 #A4EE57 #57EEED
square
#A157EE #EE5758 #A4EE57 #57EEED
split-complementary
#A157EE #EEED57 #58EE57
monochromatic
#6413B8 #821FE8 #A157EE #C08FF4 #DFC6F9

Accessibility & contrast

On white

4.11
#A157EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A157EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157EE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157EE#FFFFFF#000000##000000
##A157EE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#92789B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a157ee;
/* rgb */ color: rgb(161, 87, 238);
/* oklch */ color: oklch(61.6% 0.219 303.0);
Tailwind
colors: {
  custom: {
    50: '#c28af4',
    500: '#a157ee',
    950: '#000000',
  },
}
SCSS
$custom: #a157ee;
$custom-light: #c28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a157ee",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 269.404,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.21897,
    "h": 303
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#A157EE
secondary
#D1EBB6
accent
#DE0875
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A157EE

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

Preview Lab → · Contrast checker → · Palette generator →

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