#A157E9#A157E9

#A157E9 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.214 H 304.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A157E9
RGBrgb(161, 87, 233)
HSLhsl(270, 77%, 63%)
HSVhsv(270, 63%, 91%)
CMYKcmyk(30.9%, 62.7%, 0%, 8.6%)
CIE-LABlab(52.15, 57.00, -62.41)
CIE-LCHlch(52.15, 84.53, 312.41°)
OKLaboklab(61.22% 0.1196 -0.1769)
OKLCHoklch(61.22% 0.214 304.1)
XYZxyz(32.8108, 20.2768, 79.2603)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157E9 #9FE957
analogous
#5857E9 #A157E9 #E957E8
triadic
#A157E9 #E9A157 #57E9A1
tetradic
#A157E9 #E95857 #9FE957 #57E8E9
square
#A157E9 #E95857 #9FE957 #57E8E9
split-complementary
#A157E9 #E8E957 #57E958
monochromatic
#6417AF #8321E2 #A157E9 #BF8DF0 #DEC3F7

Accessibility & contrast

On white

4.15
#A157E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A157E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157E9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157E9#FFFFFF#000000##000000
##A157E91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#947698
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a157e9;
/* rgb */ color: rgb(161, 87, 233);
/* oklch */ color: oklch(61.2% 0.214 304.1);
Tailwind
colors: {
  custom: {
    50: '#c18af1',
    500: '#a157e9',
    950: '#000000',
  },
}
SCSS
$custom: #a157e9;
$custom-light: #c18af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a157e9",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 270.411,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.21357,
    "h": 304.1
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#A157E9
secondary
#CEE8B3
accent
#D90C71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A157E9

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

Preview Lab → · Contrast checker → · Palette generator →

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