#A157CA#A157CA

#A157CA is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.180 H 311.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A157CA
RGBrgb(161, 87, 202)
HSLhsl(279, 52%, 57%)
HSVhsv(279, 57%, 79%)
CMYKcmyk(20.3%, 56.9%, 0%, 20.8%)
CIE-LABlab(50.29, 49.98, -47.80)
CIE-LCHlch(50.29, 69.16, 316.28°)
OKLaboklab(59.26% 0.1201 -0.1341)
OKLCHoklch(59.26% 0.18 311.8)
XYZxyz(28.7649, 18.6584, 57.9518)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157CA #80CA57
analogous
#6857CA #A157CA #CA57B9
triadic
#A157CA #CAA157 #57CAA1
tetradic
#A157CA #CA6857 #80CA57 #57B9CA
square
#A157CA #CA6857 #80CA57 #57B9CA
split-complementary
#A157CA #B9CA57 #57CA68
monochromatic
#60287F #8337AD #A157CA #BB86D9 #D5B4E7

Accessibility & contrast

On white

4.44
#A157CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A157CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157CA#FFFFFF#000000##000000
##A157CA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#9C6B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a157ca;
/* rgb */ color: rgb(161, 87, 202);
/* oklch */ color: oklch(59.3% 0.180 311.8);
Tailwind
colors: {
  custom: {
    50: '#c08adb',
    500: '#a157ca',
    950: '#000000',
  },
}
SCSS
$custom: #a157ca;
$custom-light: #c08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a157ca",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 278.609,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.17997,
    "h": 311.8
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#A157CA
secondary
#B8D6A7
accent
#DB4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A157CA

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

Preview Lab → · Contrast checker → · Palette generator →

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