#A173BF#A173BF

#A173BF is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.1% C 0.121 H 311.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A173BF
RGBrgb(161, 115, 191)
HSLhsl(276, 37%, 60%)
HSVhsv(276, 40%, 75%)
CMYKcmyk(15.7%, 39.8%, 0%, 25.1%)
CIE-LABlab(55.69, 32.31, -32.98)
CIE-LCHlch(55.69, 46.17, 314.42°)
OKLaboklab(63.1% 0.0796 -0.0912)
OKLCHoklch(63.1% 0.121 311.1)
XYZxyz(30.2310, 23.6006, 52.2429)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173BF #91BF73
analogous
#7B73BF #A173BF #BF73B7
triadic
#A173BF #BFA173 #73BFA1
tetradic
#A173BF #BF7B73 #91BF73 #73B7BF
square
#A173BF #BF7B73 #91BF73 #73B7BF
split-complementary
#A173BF #B7BF73 #73BF7B
monochromatic
#633A7E #844DA8 #A173BF #BD9DD2 #D9C7E5

Accessibility & contrast

On white

3.67
#A173BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A173BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173BF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173BF#FFFFFF#000000##000000
##A173BF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#6F86BD
Tritanopia (blue-blind)
#9E7E90
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a173bf;
/* rgb */ color: rgb(161, 115, 191);
/* oklch */ color: oklch(63.1% 0.121 311.1);
Tailwind
colors: {
  custom: {
    50: '#be9cd2',
    500: '#a173bf',
    950: '#000000',
  },
}
SCSS
$custom: #a173bf;
$custom-light: #be9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a173bf",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 276.316,
    "s": 37.255,
    "l": 60
  },
  "oklch": {
    "l": 0.631,
    "c": 0.12105,
    "h": 311.1
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#A173BF
secondary
#C4D6B8
accent
#CD5B88
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A173BF

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

Preview Lab → · Contrast checker → · Palette generator →

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