#A173BB#A173BB

#A173BB is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.9% C 0.116 H 312.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A173BB
RGBrgb(161, 115, 187)
HSLhsl(278, 35%, 59%)
HSVhsv(278, 39%, 73%)
CMYKcmyk(13.9%, 38.5%, 0%, 26.7%)
CIE-LABlab(55.51, 31.43, -30.96)
CIE-LCHlch(55.51, 44.12, 315.43°)
OKLaboklab(62.91% 0.0787 -0.0854)
OKLCHoklch(62.91% 0.116 312.7)
XYZxyz(29.7968, 23.4269, 49.9562)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173BB #8DBB73
analogous
#7D73BB #A173BB #BB73B1
triadic
#A173BB #BBA173 #73BBA1
tetradic
#A173BB #BB7D73 #8DBB73 #73B1BB
square
#A173BB #BB7D73 #8DBB73 #73B1BB
split-complementary
#A173BB #B1BB73 #73BB7D
monochromatic
#623B79 #844FA2 #A173BB #BD9CCF #D8C5E3

Accessibility & contrast

On white

3.69
#A173BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A173BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173BB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173BB#FFFFFF#000000##000000
##A173BB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#9F7D8E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a173bb;
/* rgb */ color: rgb(161, 115, 187);
/* oklch */ color: oklch(62.9% 0.116 312.7);
Tailwind
colors: {
  custom: {
    50: '#be9ccf',
    500: '#a173bb',
    950: '#000000',
  },
}
SCSS
$custom: #a173bb;
$custom-light: #be9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#a173bb",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 278.333,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.11617,
    "h": 312.7
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#A173BB
secondary
#C1D3B7
accent
#CB5D85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A173BB

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

Preview Lab → · Contrast checker → · Palette generator →

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