#A157CF#A157CF

#A157CF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.185 H 310.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A157CF
RGBrgb(161, 87, 207)
HSLhsl(277, 56%, 58%)
HSVhsv(277, 58%, 81%)
CMYKcmyk(22.2%, 58%, 0%, 18.8%)
CIE-LABlab(50.57, 51.08, -50.21)
CIE-LCHlch(50.57, 71.63, 315.50°)
OKLaboklab(59.56% 0.1202 -0.1411)
OKLCHoklch(59.56% 0.185 310.4)
XYZxyz(29.3665, 18.8990, 61.1203)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157CF #85CF57
analogous
#6557CF #A157CF #CF57C1
triadic
#A157CF #CFA157 #57CFA1
tetradic
#A157CF #CF6557 #85CF57 #57C1CF
square
#A157CF #CF6557 #85CF57 #57C1CF
split-complementary
#A157CF #C1CF57 #57CF65
monochromatic
#612685 #8334B5 #A157CF #BC87DD #D6B6EA

Accessibility & contrast

On white

4.39
#A157CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A157CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157CF#FFFFFF#000000##000000
##A157CF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#9B6D8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a157cf;
/* rgb */ color: rgb(161, 87, 207);
/* oklch */ color: oklch(59.6% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#c08ade',
    500: '#a157cf',
    950: '#000000',
  },
}
SCSS
$custom: #a157cf;
$custom-light: #c08ade;
$custom-dark: #000000;
JSON
{
  "hex": "#a157cf",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 277,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.18537,
    "h": 310.4
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#A157CF
secondary
#BBD9A9
accent
#DF4982
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A157CF

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

Preview Lab → · Contrast checker → · Palette generator →

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