#7173F3#7173F3

#7173F3 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.187 H 278.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7173F3
RGBrgb(113, 115, 243)
HSLhsl(239, 84%, 70%)
HSVhsv(239, 53%, 95%)
CMYKcmyk(53.5%, 52.7%, 0%, 4.7%)
CIE-LABlab(54.28, 34.10, -64.79)
CIE-LCHlch(54.28, 73.22, 297.76°)
OKLaboklab(61.94% 0.0285 -0.1853)
OKLCHoklch(61.94% 0.187 278.7)
XYZxyz(29.1134, 22.2414, 87.5355)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173F3 #F3F171
analogous
#71B4F3 #7173F3 #B071F3
triadic
#7173F3 #F37173 #73F371
tetradic
#7173F3 #F371B4 #F3F171 #71F3B0
square
#7173F3 #F371B4 #F3F171 #71F3B0
split-complementary
#7173F3 #F3B071 #B4F371
monochromatic
#1215D7 #393BEE #7173F3 #A9ABF8 #E2E2FD

Accessibility & contrast

On white

3.85
#7173F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7173F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173F3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173F3#FFFFFF#000000##000000
##7173F31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#0D7DF0
Tritanopia (blue-blind)
#3490A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7173f3;
/* rgb */ color: rgb(113, 115, 243);
/* oklch */ color: oklch(61.9% 0.187 278.7);
Tailwind
colors: {
  custom: {
    50: '#a39bf8',
    500: '#7173f3',
    950: '#000000',
  },
}
SCSS
$custom: #7173f3;
$custom-light: #a39bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7173f3",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 239.077,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.18745,
    "h": 278.7
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#7173F3
secondary
#F2F2CE
accent
#DD05E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7173F3

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

Preview Lab → · Contrast checker → · Palette generator →

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