#7173E8#7173E8

#7173E8 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.173 H 279.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7173E8
RGBrgb(113, 115, 232)
HSLhsl(239, 72%, 68%)
HSVhsv(239, 51%, 91%)
CMYKcmyk(51.3%, 50.4%, 0%, 9%)
CIE-LABlab(53.60, 30.72, -59.76)
CIE-LCHlch(53.60, 67.19, 297.21°)
OKLaboklab(61.21% 0.0278 -0.1705)
OKLCHoklch(61.21% 0.173 279.3)
XYZxyz(27.5018, 21.5967, 79.0477)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173E8 #E8E671
analogous
#71AEE8 #7173E8 #AB71E8
triadic
#7173E8 #E87173 #73E871
tetradic
#7173E8 #E871AE #E8E671 #71E8AB
square
#7173E8 #E871AE #E8E671 #71E8AB
split-complementary
#7173E8 #E8AB71 #AEE871
monochromatic
#1F22C0 #3C3FDF #7173E8 #A6A7F1 #DADBF9

Accessibility & contrast

On white

3.95
#7173E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7173E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173E8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173E8#FFFFFF#000000##000000
##7173E81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#3F8DA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7173e8;
/* rgb */ color: rgb(113, 115, 232);
/* oklch */ color: oklch(61.2% 0.173 279.3);
Tailwind
colors: {
  custom: {
    50: '#a29bf0',
    500: '#7173e8',
    950: '#000000',
  },
}
SCSS
$custom: #7173e8;
$custom-light: #a29bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7173e8",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 238.992,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.17271,
    "h": 279.3
  },
  "luminance": 0.21598
}

Semantic roles & 50–950 ramp

primary
#7173E8
secondary
#EDECC8
accent
#D111D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7173E8

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

Preview Lab → · Contrast checker → · Palette generator →

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