#A172BF#A172BF

#A172BF is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.9% C 0.123 H 311.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A172BF
RGBrgb(161, 114, 191)
HSLhsl(277, 38%, 60%)
HSVhsv(277, 40%, 75%)
CMYKcmyk(15.7%, 40.3%, 0%, 25.1%)
CIE-LABlab(55.46, 32.88, -33.34)
CIE-LCHlch(55.46, 46.82, 314.60°)
OKLaboklab(62.93% 0.0811 -0.0922)
OKLCHoklch(62.93% 0.123 311.3)
XYZxyz(30.1176, 23.3738, 52.2051)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A172BF #90BF72
analogous
#7A72BF #A172BF #BF72B7
triadic
#A172BF #BFA172 #72BFA1
tetradic
#A172BF #BF7A72 #90BF72 #72B7BF
square
#A172BF #BF7A72 #90BF72 #72B7BF
split-complementary
#A172BF #B7BF72 #72BF7A
monochromatic
#63397E #844CA8 #A172BF #BD9CD2 #D9C6E5

Accessibility & contrast

On white

3.70
#A172BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A172BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A172BF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A172BF#FFFFFF#000000##000000
##A172BF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C2
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#9E7D8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a172bf;
/* rgb */ color: rgb(161, 114, 191);
/* oklch */ color: oklch(62.9% 0.123 311.3);
Tailwind
colors: {
  custom: {
    50: '#be9bd2',
    500: '#a172bf',
    950: '#000000',
  },
}
SCSS
$custom: #a172bf;
$custom-light: #be9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a172bf",
  "rgb": {
    "r": 161,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 276.623,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.12279,
    "h": 311.3
  },
  "luminance": 0.23373
}

Semantic roles & 50–950 ramp

primary
#A172BF
secondary
#C3D5B8
accent
#CE5A87
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A172BF

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

Preview Lab → · Contrast checker → · Palette generator →

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