#A157CC#A157CC

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

Color values

HEX#A157CC
RGBrgb(161, 87, 204)
HSLhsl(278, 53%, 57%)
HSVhsv(278, 57%, 80%)
CMYKcmyk(21.1%, 57.4%, 0%, 20%)
CIE-LABlab(50.40, 50.42, -48.76)
CIE-LCHlch(50.40, 70.14, 315.96°)
OKLaboklab(59.38% 0.1201 -0.1369)
OKLCHoklch(59.38% 0.182 311.3)
XYZxyz(29.0032, 18.7537, 59.2070)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157CC #82CC57
analogous
#6757CC #A157CC #CC57BC
triadic
#A157CC #CCA157 #57CCA1
tetradic
#A157CC #CC6757 #82CC57 #57BCCC
square
#A157CC #CC6757 #82CC57 #57BCCC
split-complementary
#A157CC #BCCC57 #57CC67
monochromatic
#602781 #8336B0 #A157CC #BB86DA #D6B5E9

Accessibility & contrast

On white

4.42
#A157CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A157CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157CC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157CC#FFFFFF#000000##000000
##A157CC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#4E79C9
Tritanopia (blue-blind)
#9C6C89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a157cc;
/* rgb */ color: rgb(161, 87, 204);
/* oklch */ color: oklch(59.4% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#c08adc',
    500: '#a157cc',
    950: '#000000',
  },
}
SCSS
$custom: #a157cc;
$custom-light: #c08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a157cc",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 277.949,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.18213,
    "h": 311.3
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#A157CC
secondary
#B9D7A8
accent
#DD4B81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A157CC

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

Preview Lab → · Contrast checker → · Palette generator →

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