#6173F7#6173F7

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

Color values

HEX#6173F7
RGBrgb(97, 115, 247)
HSLhsl(233, 90%, 67%)
HSVhsv(233, 61%, 97%)
CMYKcmyk(60.7%, 53.4%, 0%, 3.1%)
CIE-LABlab(53.51, 32.46, -68.31)
CIE-LCHlch(53.51, 75.63, 295.42°)
OKLaboklab(61.18% 0.0113 -0.196)
OKLCHoklch(61.18% 0.196 273.3)
XYZxyz(27.8435, 21.5160, 90.6634)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173F7 #F7E561
analogous
#61BEF7 #6173F7 #9A61F7
triadic
#6173F7 #F76173 #73F761
tetradic
#6173F7 #F761BE #F7E561 #61F79A
square
#6173F7 #F761BE #F7E561 #61F79A
split-complementary
#6173F7 #F79A61 #BEF761
monochromatic
#0B23D3 #273FF4 #6173F7 #9BA7FA #D6DAFD

Accessibility & contrast

On white

3.96
#6173F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6173F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173F7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173F7#FFFFFF#000000##000000
##6173F71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1687FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6173f7;
/* rgb */ color: rgb(97, 115, 247);
/* oklch */ color: oklch(61.2% 0.196 273.3);
Tailwind
colors: {
  custom: {
    50: '#9b9bfb',
    500: '#6173f7',
    950: '#000000',
  },
}
SCSS
$custom: #6173f7;
$custom-light: #9b9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6173f7",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 232.8,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61178,
    "c": 0.19635,
    "h": 273.3
  },
  "luminance": 0.21518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6173F7

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

Preview Lab → · Contrast checker → · Palette generator →

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