#A172FA#A172FA

#A172FA is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.195 H 296.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A172FA
RGBrgb(161, 114, 250)
HSLhsl(261, 93%, 71%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(35.6%, 54.4%, 0%, 2%)
CIE-LABlab(58.52, 47.02, -61.64)
CIE-LCHlch(58.52, 77.53, 307.34°)
OKLaboklab(66.21% 0.0877 -0.1747)
OKLCHoklch(66.21% 0.195 296.6)
XYZxyz(37.9662, 26.5132, 93.5412)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A172FA #CBFA72
analogous
#7287FA #A172FA #E572FA
triadic
#A172FA #FAA172 #72FAA1
tetradic
#A172FA #FA7287 #CBFA72 #72FAE5
square
#A172FA #FA7287 #CBFA72 #72FAE5
split-complementary
#A172FA #FAE572 #87FA72
monochromatic
#5608E9 #7A37F8 #A172FA #C8ADFC #EBE1FE

Accessibility & contrast

On white

3.33
#A172FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A172FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A172FA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A172FA#FFFFFF#000000##000000
##A172FA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFF
Deuteranopia (green-blind)
#448BF7
Tritanopia (blue-blind)
#8C8EAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a172fa;
/* rgb */ color: rgb(161, 114, 250);
/* oklch */ color: oklch(66.2% 0.195 296.6);
Tailwind
colors: {
  custom: {
    50: '#c19cfd',
    500: '#a172fa',
    950: '#000000',
  },
}
SCSS
$custom: #a172fa;
$custom-light: #c19cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a172fa",
  "rgb": {
    "r": 161,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 260.735,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.19545,
    "h": 296.6
  },
  "luminance": 0.26514
}

Semantic roles & 50–950 ramp

primary
#A172FA
secondary
#E9F6D2
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A172FA

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

Preview Lab → · Contrast checker → · Palette generator →

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