#6173F6#6173F6

#6173F6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.195 H 273.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6173F6
RGBrgb(97, 115, 246)
HSLhsl(233, 89%, 67%)
HSVhsv(233, 61%, 96%)
CMYKcmyk(60.6%, 53.3%, 0%, 3.5%)
CIE-LABlab(53.44, 32.13, -67.86)
CIE-LCHlch(53.44, 75.09, 295.34°)
OKLaboklab(61.11% 0.0113 -0.1947)
OKLCHoklch(61.11% 0.195 273.3)
XYZxyz(27.6896, 21.4544, 89.8529)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173F6 #F6E461
analogous
#61BDF6 #6173F6 #9A61F6
triadic
#6173F6 #F66173 #73F661
tetradic
#6173F6 #F661BD #F6E461 #61F69A
square
#6173F6 #F661BD #F6E461 #61F69A
split-complementary
#6173F6 #F69A61 #BDF661
monochromatic
#0C24D1 #2740F3 #6173F6 #9BA6F9 #D5DAFD

Accessibility & contrast

On white

3.97
#6173F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6173F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173F6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173F6#FFFFFF#000000##000000
##6173F61.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1986FB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6173f6;
/* rgb */ color: rgb(97, 115, 246);
/* oklch */ color: oklch(61.1% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#9b9bfa',
    500: '#6173f6',
    950: '#000000',
  },
}
SCSS
$custom: #6173f6;
$custom-light: #9b9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6173f6",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 232.752,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.19503,
    "h": 273.3
  },
  "luminance": 0.21457
}

Semantic roles & 50–950 ramp

primary
#6173F6
secondary
#F1EBC2
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6173F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva