#A157CD#A157CD

#A157CD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.183 H 311.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A157CD
RGBrgb(161, 87, 205)
HSLhsl(278, 54%, 57%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(21.5%, 57.6%, 0%, 19.6%)
CIE-LABlab(50.45, 50.64, -49.25)
CIE-LCHlch(50.45, 70.64, 315.80°)
OKLaboklab(59.44% 0.1202 -0.1383)
OKLCHoklch(59.44% 0.183 311)
XYZxyz(29.1235, 18.8019, 59.8407)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157CD #83CD57
analogous
#6657CD #A157CD #CD57BE
triadic
#A157CD #CDA157 #57CDA1
tetradic
#A157CD #CD6657 #83CD57 #57BECD
square
#A157CD #CD6657 #83CD57 #57BECD
split-complementary
#A157CD #BECD57 #57CD66
monochromatic
#602783 #8335B2 #A157CD #BB86DB #D6B5E9

Accessibility & contrast

On white

4.41
#A157CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A157CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157CD#FFFFFF#000000##000000
##A157CD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#9C6C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a157cd;
/* rgb */ color: rgb(161, 87, 205);
/* oklch */ color: oklch(59.4% 0.183 311.0);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a157cd',
    950: '#000000',
  },
}
SCSS
$custom: #a157cd;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a157cd",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 277.627,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.18321,
    "h": 311
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#A157CD
secondary
#BAD8A8
accent
#DD4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A157CD

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

Preview Lab → · Contrast checker → · Palette generator →

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