#A157CE#A157CE

#A157CE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.184 H 310.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A157CE
RGBrgb(161, 87, 206)
HSLhsl(277, 55%, 57%)
HSVhsv(277, 58%, 81%)
CMYKcmyk(21.8%, 57.8%, 0%, 19.2%)
CIE-LABlab(50.51, 50.86, -49.73)
CIE-LCHlch(50.51, 71.13, 315.65°)
OKLaboklab(59.5% 0.1202 -0.1397)
OKLCHoklch(59.5% 0.184 310.7)
XYZxyz(29.2446, 18.8503, 60.4784)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157CE #84CE57
analogous
#6557CE #A157CE #CE57C0
triadic
#A157CE #CEA157 #57CEA1
tetradic
#A157CE #CE6557 #84CE57 #57C0CE
square
#A157CE #CE6557 #84CE57 #57C0CE
split-complementary
#A157CE #C0CE57 #57CE65
monochromatic
#612784 #8334B3 #A157CE #BC86DC #D6B6EA

Accessibility & contrast

On white

4.40
#A157CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A157CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157CE#FFFFFF#000000##000000
##A157CE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#9B6D8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a157ce;
/* rgb */ color: rgb(161, 87, 206);
/* oklch */ color: oklch(59.5% 0.184 310.7);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a157ce',
    950: '#000000',
  },
}
SCSS
$custom: #a157ce;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a157ce",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 277.311,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.18429,
    "h": 310.7
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#A157CE
secondary
#BBD8A8
accent
#DE4A82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A157CE

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

Preview Lab → · Contrast checker → · Palette generator →

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