#A172CF#A172CF

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

Color values

HEX#A172CF
RGBrgb(161, 114, 207)
HSLhsl(270, 49%, 63%)
HSVhsv(270, 45%, 81%)
CMYKcmyk(22.2%, 44.9%, 0%, 18.8%)
CIE-LABlab(56.20, 36.52, -41.27)
CIE-LCHlch(56.20, 55.11, 311.50°)
OKLaboklab(63.74% 0.0839 -0.1152)
OKLCHoklch(63.74% 0.142 306.1)
XYZxyz(31.9754, 24.1169, 61.9899)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A172CF #A0CF72
analogous
#7372CF #A172CF #CF72CE
triadic
#A172CF #CFA172 #72CFA1
tetradic
#A172CF #CF7372 #A0CF72 #72CECF
square
#A172CF #CF7372 #A0CF72 #72CECF
split-complementary
#A172CF #CECF72 #72CF73
monochromatic
#643294 #8344BF #A172CF #BFA0DF #DECDEE

Accessibility & contrast

On white

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

On black

5.82
#A172CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A172CF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A172CF#FFFFFF#000000##000000
##A172CF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#9A8197
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a172cf;
/* rgb */ color: rgb(161, 114, 207);
/* oklch */ color: oklch(63.7% 0.142 306.1);
Tailwind
colors: {
  custom: {
    50: '#bf9bde',
    500: '#a172cf',
    950: '#000000',
  },
}
SCSS
$custom: #a172cf;
$custom-light: #bf9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#a172cf",
  "rgb": {
    "r": 161,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 270.323,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.14247,
    "h": 306.1
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#A172CF
secondary
#CEDFBE
accent
#BD2972
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A172CF

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

Preview Lab → · Contrast checker → · Palette generator →

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