#7173F5#7173F5

#7173F5 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.1% C 0.190 H 278.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7173F5
RGBrgb(113, 115, 245)
HSLhsl(239, 87%, 70%)
HSVhsv(239, 54%, 96%)
CMYKcmyk(53.9%, 53.1%, 0%, 3.9%)
CIE-LABlab(54.41, 34.72, -65.70)
CIE-LCHlch(54.41, 74.31, 297.86°)
OKLaboklab(62.08% 0.0286 -0.1879)
OKLCHoklch(62.08% 0.19 278.6)
XYZxyz(29.4170, 22.3629, 89.1348)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173F5 #F5F371
analogous
#71B5F5 #7173F5 #B171F5
triadic
#7173F5 #F57173 #73F571
tetradic
#7173F5 #F571B5 #F5F371 #71F5B1
square
#7173F5 #F571B5 #F5F371 #71F5B1
split-complementary
#7173F5 #F5B171 #B5F571
monochromatic
#1013DC #383BF1 #7173F5 #AAABF9 #E2E3FD

Accessibility & contrast

On white

3.84
#7173F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7173F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173F5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173F5#FFFFFF#000000##000000
##7173F51.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#3191A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7173f5;
/* rgb */ color: rgb(113, 115, 245);
/* oklch */ color: oklch(62.1% 0.190 278.6);
Tailwind
colors: {
  custom: {
    50: '#a39bf9',
    500: '#7173f5',
    950: '#000000',
  },
}
SCSS
$custom: #7173f5;
$custom-light: #a39bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7173f5",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 239.091,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62077,
    "c": 0.19009,
    "h": 278.6
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#7173F5
secondary
#F3F3CF
accent
#E002E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7173F5

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

Preview Lab → · Contrast checker → · Palette generator →

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