#7173AF#7173AF

#7173AF is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.9% C 0.092 H 281.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7173AF
RGBrgb(113, 115, 175)
HSLhsl(238, 28%, 56%)
HSVhsv(238, 35%, 69%)
CMYKcmyk(35.4%, 34.3%, 0%, 31.4%)
CIE-LABlab(50.53, 13.94, -32.14)
CIE-LCHlch(50.53, 35.03, 293.45°)
OKLaboklab(57.88% 0.0185 -0.0898)
OKLCHoklch(57.88% 0.092 281.7)
XYZxyz(20.6765, 18.8666, 43.1013)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173AF #AFAD71
analogous
#7192AF #7173AF #8E71AF
triadic
#7173AF #AF7173 #73AF71
tetradic
#7173AF #AF7192 #AFAD71 #71AF8E
square
#7173AF #AF7192 #AFAD71 #71AF8E
split-complementary
#7173AF #AF8E71 #92AF71
monochromatic
#3C3D6A #525491 #7173AF #989AC5 #BFC0DB

Accessibility & contrast

On white

4.40
#7173AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7173AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173AF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173AF#FFFFFF#000000##000000
##7173AF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607AB1
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#607E89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7173af;
/* rgb */ color: rgb(113, 115, 175);
/* oklch */ color: oklch(57.9% 0.092 281.7);
Tailwind
colors: {
  custom: {
    50: '#9c9bc7',
    500: '#7173af',
    950: '#000000',
  },
}
SCSS
$custom: #7173af;
$custom-light: #9c9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7173af",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 238.065,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57881,
    "c": 0.09166,
    "h": 281.7
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#7173AF
secondary
#CBCAB1
accent
#C164C4
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #7173AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7173AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva