#7173CD#7173CD

#7173CD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.135 H 280.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7173CD
RGBrgb(113, 115, 205)
HSLhsl(239, 48%, 62%)
HSVhsv(239, 45%, 80%)
CMYKcmyk(44.9%, 43.9%, 0%, 19.6%)
CIE-LABlab(52.04, 22.57, -47.00)
CIE-LCHlch(52.04, 52.14, 295.65°)
OKLaboklab(59.53% 0.0246 -0.133)
OKLCHoklch(59.53% 0.135 280.5)
XYZxyz(23.9569, 20.1788, 60.3784)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173CD #CDCB71
analogous
#71A1CD #7173CD #9D71CD
triadic
#7173CD #CD7173 #73CD71
tetradic
#7173CD #CD71A1 #CDCB71 #71CD9D
square
#7173CD #CD71A1 #CDCB71 #71CD9D
split-complementary
#7173CD #CD9D71 #A1CD71
monochromatic
#333591 #4446BD #7173CD #9EA0DD #CCCCED

Accessibility & contrast

On white

4.17
#7173CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7173CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173CD#FFFFFF#000000##000000
##7173CD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#528696
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7173cd;
/* rgb */ color: rgb(113, 115, 205);
/* oklch */ color: oklch(59.5% 0.135 280.5);
Tailwind
colors: {
  custom: {
    50: '#9e9bdd',
    500: '#7173cd',
    950: '#000000',
  },
}
SCSS
$custom: #7173cd;
$custom-light: #9e9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7173cd",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 238.696,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.13529,
    "h": 280.5
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#7173CD
secondary
#DEDDBC
accent
#B82ABB
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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