#A157E3#A157E3

#A157E3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.207 H 305.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A157E3
RGBrgb(161, 87, 227)
HSLhsl(272, 71%, 62%)
HSVhsv(272, 62%, 89%)
CMYKcmyk(29.1%, 61.7%, 0%, 11%)
CIE-LABlab(51.77, 55.61, -59.65)
CIE-LCHlch(51.77, 81.55, 313.00°)
OKLaboklab(60.82% 0.12 -0.1688)
OKLCHoklch(60.82% 0.207 305.4)
XYZxyz(31.9682, 19.9397, 74.8228)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157E3 #99E357
analogous
#5B57E3 #A157E3 #E357DF
triadic
#A157E3 #E3A157 #57E3A1
tetradic
#A157E3 #E35B57 #99E357 #57DFE3
square
#A157E3 #E35B57 #99E357 #57DFE3
split-complementary
#A157E3 #DFE357 #57E35B
monochromatic
#641BA4 #8424D9 #A157E3 #BE8BEC #DCC0F4

Accessibility & contrast

On white

4.21
#A157E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A157E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157E3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157E3#FFFFFF#000000##000000
##A157E31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#967495
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a157e3;
/* rgb */ color: rgb(161, 87, 227);
/* oklch */ color: oklch(60.8% 0.207 305.4);
Tailwind
colors: {
  custom: {
    50: '#c18aec',
    500: '#a157e3',
    950: '#000000',
  },
}
SCSS
$custom: #a157e3;
$custom-light: #c18aec;
$custom-dark: #000000;
JSON
{
  "hex": "#a157e3",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 271.714,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.20707,
    "h": 305.4
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#A157E3
secondary
#C9E5B1
accent
#D3126D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A157E3

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

Preview Lab → · Contrast checker → · Palette generator →

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