#7173C4#7173C4

#7173C4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.0% C 0.122 H 280.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7173C4
RGBrgb(113, 115, 196)
HSLhsl(239, 41%, 61%)
HSVhsv(239, 42%, 77%)
CMYKcmyk(42.3%, 41.3%, 0%, 23.1%)
CIE-LABlab(51.56, 19.92, -42.62)
CIE-LCHlch(51.56, 47.05, 295.05°)
OKLaboklab(59.01% 0.0231 -0.1202)
OKLCHoklch(59.01% 0.122 280.9)
XYZxyz(22.9017, 19.7567, 54.8206)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173C4 #C4C271
analogous
#719CC4 #7173C4 #9871C4
triadic
#7173C4 #C47173 #73C471
tetradic
#7173C4 #C4719C #C4C271 #71C498
square
#7173C4 #C4719C #C4C271 #71C498
split-complementary
#7173C4 #C49871 #9CC471
monochromatic
#373984 #494BAF #7173C4 #9C9ED6 #C7C8E8

Accessibility & contrast

On white

4.24
#7173C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7173C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173C4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173C4#FFFFFF#000000##000000
##7173C41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567EC7
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#578392
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7173c4;
/* rgb */ color: rgb(113, 115, 196);
/* oklch */ color: oklch(59.0% 0.122 280.9);
Tailwind
colors: {
  custom: {
    50: '#9e9bd6',
    500: '#7173c4',
    950: '#000000',
  },
}
SCSS
$custom: #7173c4;
$custom-light: #9e9bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7173c4",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 196
  },
  "hsl": {
    "h": 238.554,
    "s": 41.294,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.12243,
    "h": 280.9
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#7173C4
secondary
#D8D7B9
accent
#B131B4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0F0E14
muted
#7E7E83

Preview Lab

Preview with #7173C4

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

Preview Lab → · Contrast checker → · Palette generator →

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