#7172F9#7172F9

#7172F9 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.2% C 0.197 H 278.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7172F9
RGBrgb(113, 114, 249)
HSLhsl(240, 92%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(54.6%, 54.2%, 0%, 2.4%)
CIE-LABlab(54.43, 36.55, -67.88)
CIE-LCHlch(54.43, 77.10, 298.30°)
OKLaboklab(62.18% 0.0298 -0.1944)
OKLCHoklch(62.18% 0.197 278.7)
XYZxyz(29.9209, 22.3829, 92.3478)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7172F9 #F9F871
analogous
#71B6F9 #7172F9 #B471F9
triadic
#7172F9 #F97172 #72F971
tetradic
#7172F9 #F971B6 #F9F871 #71F9B4
square
#7172F9 #F971B6 #F9F871 #71F9B4
split-complementary
#7172F9 #F9B471 #B6F971
monochromatic
#0A0BE6 #3638F7 #7172F9 #ACACFB #E2E2FE

Accessibility & contrast

On white

3.83
#7172F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7172F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7172F9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7172F9#FFFFFF#000000##000000
##7172F91.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1688FE
Deuteranopia (green-blind)
#007DF6
Tritanopia (blue-blind)
#2C91AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7172f9;
/* rgb */ color: rgb(113, 114, 249);
/* oklch */ color: oklch(62.2% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#a49afc',
    500: '#7172f9',
    950: '#000000',
  },
}
SCSS
$custom: #7172f9;
$custom-light: #a49afc;
$custom-dark: #000000;
JSON
{
  "hex": "#7172f9",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 239.559,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.19663,
    "h": 278.7
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#7172F9
secondary
#F5F5D1
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7172F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7172F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva