#A157FF#A157FF

#A157FF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.237 H 299.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A157FF
RGBrgb(161, 87, 255)
HSLhsl(266, 100%, 67%)
HSVhsv(266, 66%, 100%)
CMYKcmyk(36.9%, 65.9%, 0%, 0%)
CIE-LABlab(53.61, 62.21, -72.32)
CIE-LCHlch(53.61, 95.40, 310.70°)
OKLaboklab(62.74% 0.1176 -0.206)
OKLCHoklch(62.74% 0.237 299.7)
XYZxyz(36.1517, 21.6131, 96.8555)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157FF #B5FF57
analogous
#5761FF #A157FF #F557FF
triadic
#A157FF #FFA157 #57FFA1
tetradic
#A157FF #FF5761 #B5FF57 #57FFF5
square
#A157FF #FF5761 #B5FF57 #57FFF5
split-complementary
#A157FF #FFF557 #61FF57
monochromatic
#6100DC #7F1AFF #A157FF #C394FF #E5D1FF

Accessibility & contrast

On white

3.95
#A157FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A157FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157FF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157FF#FFFFFF#000000##000000
##A157FF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#8C7EA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a157ff;
/* rgb */ color: rgb(161, 87, 255);
/* oklch */ color: oklch(62.7% 0.237 299.7);
Tailwind
colors: {
  custom: {
    50: '#c38bff',
    500: '#a157ff',
    950: '#000000',
  },
}
SCSS
$custom: #a157ff;
$custom-light: #c38bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a157ff",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 266.429,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62736,
    "c": 0.23724,
    "h": 299.7
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#A157FF
secondary
#DCF4BE
accent
#E60080
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A157FF

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

Preview Lab → · Contrast checker → · Palette generator →

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