#7173F2#7173F2

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

Color values

HEX#7173F2
RGBrgb(113, 115, 242)
HSLhsl(239, 83%, 70%)
HSVhsv(239, 53%, 95%)
CMYKcmyk(53.3%, 52.5%, 0%, 5.1%)
CIE-LABlab(54.22, 33.80, -64.34)
CIE-LCHlch(54.22, 72.67, 297.71°)
OKLaboklab(61.87% 0.0284 -0.1839)
OKLCHoklch(61.87% 0.186 278.8)
XYZxyz(28.9628, 22.1811, 86.7424)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173F2 #F2F071
analogous
#71B3F2 #7173F2 #B071F2
triadic
#7173F2 #F27173 #73F271
tetradic
#7173F2 #F271B3 #F2F071 #71F2B0
square
#7173F2 #F271B3 #F2F071 #71F2B0
split-complementary
#7173F2 #F2B071 #B3F271
monochromatic
#1417D5 #393CED #7173F2 #A9AAF7 #E1E2FC

Accessibility & contrast

On white

3.86
#7173F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7173F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173F2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173F2#FFFFFF#000000##000000
##7173F21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#117DEF
Tritanopia (blue-blind)
#3590A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7173f2;
/* rgb */ color: rgb(113, 115, 242);
/* oklch */ color: oklch(61.9% 0.186 278.8);
Tailwind
colors: {
  custom: {
    50: '#a39bf7',
    500: '#7173f2',
    950: '#000000',
  },
}
SCSS
$custom: #7173f2;
$custom-light: #a39bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7173f2",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 239.07,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.18611,
    "h": 278.8
  },
  "luminance": 0.22183
}

Semantic roles & 50–950 ramp

primary
#7173F2
secondary
#F2F1CD
accent
#DC06E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7173F2

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

Preview Lab → · Contrast checker → · Palette generator →

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