#A157EA#A157EA

#A157EA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.215 H 303.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A157EA
RGBrgb(161, 87, 234)
HSLhsl(270, 78%, 63%)
HSVhsv(270, 63%, 92%)
CMYKcmyk(31.2%, 62.8%, 0%, 8.2%)
CIE-LABlab(52.21, 57.24, -62.87)
CIE-LCHlch(52.21, 85.02, 312.31°)
OKLaboklab(61.28% 0.1196 -0.1783)
OKLCHoklch(61.28% 0.215 303.9)
XYZxyz(32.9541, 20.3341, 80.0147)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157EA #A0EA57
analogous
#5757EA #A157EA #EA57EA
triadic
#A157EA #EAA157 #57EAA1
tetradic
#A157EA #EA5757 #A0EA57 #57EAEA
square
#A157EA #EA5757 #A0EA57 #57EAEA
split-complementary
#A157EA #EAEA57 #57EA57
monochromatic
#6416B1 #8321E3 #A157EA #BF8DF1 #DEC4F8

Accessibility & contrast

On white

4.14
#A157EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A157EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157EA#FFFFFF#000000##000000
##A157EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#2C7CE7
Tritanopia (blue-blind)
#937699
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a157ea;
/* rgb */ color: rgb(161, 87, 234);
/* oklch */ color: oklch(61.3% 0.215 303.9);
Tailwind
colors: {
  custom: {
    50: '#c18af1',
    500: '#a157ea',
    950: '#000000',
  },
}
SCSS
$custom: #a157ea;
$custom-light: #c18af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a157ea",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 270.204,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.21465,
    "h": 303.9
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#A157EA
secondary
#CEE9B4
accent
#DA0B72
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A157EA

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

Preview Lab → · Contrast checker → · Palette generator →

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