#A173BE#A173BE

#A173BE is a light, moderate violet. Relative luminance 0.236; OKLCH L 63.1% C 0.120 H 311.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A173BE
RGBrgb(161, 115, 190)
HSLhsl(277, 37%, 60%)
HSVhsv(277, 39%, 75%)
CMYKcmyk(15.3%, 39.5%, 0%, 25.5%)
CIE-LABlab(55.64, 32.09, -32.48)
CIE-LCHlch(55.64, 45.66, 314.66°)
OKLaboklab(63.05% 0.0794 -0.0898)
OKLCHoklch(63.05% 0.12 311.5)
XYZxyz(30.1213, 23.5567, 51.6653)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173BE #90BE73
analogous
#7C73BE #A173BE #BE73B5
triadic
#A173BE #BEA173 #73BEA1
tetradic
#A173BE #BE7C73 #90BE73 #73B5BE
square
#A173BE #BE7C73 #90BE73 #73B5BE
split-complementary
#A173BE #B5BE73 #73BE7C
monochromatic
#633A7D #844DA6 #A173BE #BD9DD1 #D9C7E5

Accessibility & contrast

On white

3.68
#A173BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A173BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173BE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173BE#FFFFFF#000000##000000
##A173BE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C1
Deuteranopia (green-blind)
#7086BC
Tritanopia (blue-blind)
#9E7E8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a173be;
/* rgb */ color: rgb(161, 115, 190);
/* oklch */ color: oklch(63.1% 0.120 311.5);
Tailwind
colors: {
  custom: {
    50: '#be9cd2',
    500: '#a173be',
    950: '#000000',
  },
}
SCSS
$custom: #a173be;
$custom-light: #be9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a173be",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 276.8,
    "s": 36.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63052,
    "c": 0.11983,
    "h": 311.5
  },
  "luminance": 0.23556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A173BE

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

Preview Lab → · Contrast checker → · Palette generator →

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