#7173FA#7173FA

#7173FA is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.4% C 0.197 H 278.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7173FA
RGBrgb(113, 115, 250)
HSLhsl(239, 93%, 71%)
HSVhsv(239, 55%, 98%)
CMYKcmyk(54.8%, 54%, 0%, 2%)
CIE-LABlab(54.73, 36.27, -67.95)
CIE-LCHlch(54.73, 77.02, 298.09°)
OKLaboklab(62.42% 0.0288 -0.1945)
OKLCHoklch(62.42% 0.197 278.4)
XYZxyz(30.1907, 22.6723, 93.2092)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173FA #FAF871
analogous
#71B7FA #7173FA #B371FA
triadic
#7173FA #FA7173 #73FA71
tetradic
#7173FA #FA71B7 #FAF871 #71FAB3
square
#7173FA #FA71B7 #FAF871 #71FAB3
split-complementary
#7173FA #FAB371 #B7FA71
monochromatic
#080BE8 #3639F8 #7173FA #ACADFC #E1E2FE

Accessibility & contrast

On white

3.79
#7173FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7173FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173FA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173FA#FFFFFF#000000##000000
##7173FA1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1989FF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#2A92AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7173fa;
/* rgb */ color: rgb(113, 115, 250);
/* oklch */ color: oklch(62.4% 0.197 278.4);
Tailwind
colors: {
  custom: {
    50: '#a49bfd',
    500: '#7173fa',
    950: '#000000',
  },
}
SCSS
$custom: #7173fa;
$custom-light: #a49bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7173fa",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 239.124,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.19667,
    "h": 278.4
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#7173FA
secondary
#F5F5D1
accent
#E200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7173FA

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

Preview Lab → · Contrast checker → · Palette generator →

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