#A157FA#A157FA

#A157FA is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.232 H 300.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A157FA
RGBrgb(161, 87, 250)
HSLhsl(267, 94%, 66%)
HSVhsv(267, 65%, 98%)
CMYKcmyk(35.6%, 65.2%, 0%, 2%)
CIE-LABlab(53.27, 61.02, -70.10)
CIE-LCHlch(53.27, 92.94, 311.04°)
OKLaboklab(62.38% 0.1182 -0.1995)
OKLCHoklch(62.38% 0.232 300.6)
XYZxyz(35.3573, 21.2953, 92.6716)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157FA #B0FA57
analogous
#575EFA #A157FA #F257FA
triadic
#A157FA #FAA157 #57FAA1
tetradic
#A157FA #FA575E #B0FA57 #57FAF2
square
#A157FA #FA575E #B0FA57 #57FAF2
split-complementary
#A157FA #FAF257 #5EFA57
monochromatic
#6206D0 #801CF8 #A157FA #C292FC #E4CEFE

Accessibility & contrast

On white

3.99
#A157FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A157FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157FA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157FA#FFFFFF#000000##000000
##A157FA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#8E7CA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a157fa;
/* rgb */ color: rgb(161, 87, 250);
/* oklch */ color: oklch(62.4% 0.232 300.6);
Tailwind
colors: {
  custom: {
    50: '#c38bfd',
    500: '#a157fa',
    950: '#000000',
  },
}
SCSS
$custom: #a157fa;
$custom-light: #c38bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a157fa",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 267.239,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62382,
    "c": 0.2319,
    "h": 300.6
  },
  "luminance": 0.21296
}

Semantic roles & 50–950 ramp

primary
#A157FA
secondary
#D9F1BC
accent
#E6007D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A157FA

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

Preview Lab → · Contrast checker → · Palette generator →

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