#A157DF#A157DF

#A157DF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.203 H 306.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A157DF
RGBrgb(161, 87, 223)
HSLhsl(273, 68%, 61%)
HSVhsv(273, 61%, 87%)
CMYKcmyk(27.8%, 61%, 0%, 12.5%)
CIE-LABlab(51.52, 54.69, -57.79)
CIE-LCHlch(51.52, 79.56, 313.42°)
OKLaboklab(60.56% 0.1201 -0.1633)
OKLCHoklch(60.56% 0.203 306.3)
XYZxyz(31.4226, 19.7215, 71.9490)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157DF #95DF57
analogous
#5D57DF #A157DF #DF57D9
triadic
#A157DF #DFA157 #57DFA1
tetradic
#A157DF #DF5D57 #95DF57 #57D9DF
square
#A157DF #DF5D57 #95DF57 #57D9DF
split-complementary
#A157DF #D9DF57 #57DF5D
monochromatic
#631E9E #8428D1 #A157DF #BE8AE9 #DBBEF3

Accessibility & contrast

On white

4.25
#A157DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A157DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157DF#FFFFFF#000000##000000
##A157DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E3
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#977293
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a157df;
/* rgb */ color: rgb(161, 87, 223);
/* oklch */ color: oklch(60.6% 0.203 306.3);
Tailwind
colors: {
  custom: {
    50: '#c18aea',
    500: '#a157df',
    950: '#000000',
  },
}
SCSS
$custom: #a157df;
$custom-light: #c18aea;
$custom-dark: #000000;
JSON
{
  "hex": "#a157df",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 272.647,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.20273,
    "h": 306.3
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#A157DF
secondary
#C7E3AF
accent
#D0166B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A157DF

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

Preview Lab → · Contrast checker → · Palette generator →

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