#6172FA#6172FA

#6172FA is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.2% C 0.202 H 273.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6172FA
RGBrgb(97, 114, 250)
HSLhsl(233, 94%, 68%)
HSVhsv(233, 61%, 98%)
CMYKcmyk(61.2%, 54.4%, 0%, 2%)
CIE-LABlab(53.47, 34.05, -70.05)
CIE-LCHlch(53.47, 77.88, 295.92°)
OKLaboklab(61.21% 0.0124 -0.2011)
OKLCHoklch(61.21% 0.202 273.5)
XYZxyz(28.1967, 21.4758, 93.0833)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172FA #FAE961
analogous
#61BFFA #6172FA #9C61FA
triadic
#6172FA #FA6172 #72FA61
tetradic
#6172FA #FA61BF #FAE961 #61FA9C
square
#6172FA #FA61BF #FAE961 #61FA9C
split-complementary
#6172FA #FA9C61 #BFFA61
monochromatic
#071EDA #263DF8 #6172FA #9CA7FC #D8DCFE

Accessibility & contrast

On white

3.97
#6172FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6172FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172FA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172FA#FFFFFF#000000##000000
##6172FA1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6172fa;
/* rgb */ color: rgb(97, 114, 250);
/* oklch */ color: oklch(61.2% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#9c9afd',
    500: '#6172fa',
    950: '#000000',
  },
}
SCSS
$custom: #6172fa;
$custom-light: #9c9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#6172fa",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 233.333,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.20151,
    "h": 273.5
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#6172FA
secondary
#F3EEC4
accent
#CC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #6172FA

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

Preview Lab → · Contrast checker → · Palette generator →

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