#A172CE#A172CE

#A172CE is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.7% C 0.141 H 306.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A172CE
RGBrgb(161, 114, 206)
HSLhsl(271, 48%, 63%)
HSVhsv(271, 45%, 81%)
CMYKcmyk(21.8%, 44.7%, 0%, 19.2%)
CIE-LABlab(56.16, 36.29, -40.78)
CIE-LCHlch(56.16, 54.59, 311.66°)
OKLaboklab(63.68% 0.0837 -0.1137)
OKLCHoklch(63.68% 0.141 306.4)
XYZxyz(31.8536, 24.0682, 61.3481)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A172CE #9FCE72
analogous
#7372CE #A172CE #CE72CD
triadic
#A172CE #CEA172 #72CEA1
tetradic
#A172CE #CE7372 #9FCE72 #72CDCE
square
#A172CE #CE7372 #9FCE72 #72CDCE
split-complementary
#A172CE #CDCE72 #72CE73
monochromatic
#643393 #8345BE #A172CE #BF9FDE #DECDEE

Accessibility & contrast

On white

3.61
#A172CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A172CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A172CE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A172CE#FFFFFF#000000##000000
##A172CE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D1
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#9A8196
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a172ce;
/* rgb */ color: rgb(161, 114, 206);
/* oklch */ color: oklch(63.7% 0.141 306.4);
Tailwind
colors: {
  custom: {
    50: '#be9bdd',
    500: '#a172ce',
    950: '#000000',
  },
}
SCSS
$custom: #a172ce;
$custom-light: #be9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a172ce",
  "rgb": {
    "r": 161,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 270.652,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.14124,
    "h": 306.4
  },
  "luminance": 0.24068
}

Semantic roles & 50–950 ramp

primary
#A172CE
secondary
#CEDFBD
accent
#BC2A71
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A172CE

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

Preview Lab → · Contrast checker → · Palette generator →

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