#7172F7#7172F7

#7172F7 is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.194 H 278.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7172F7
RGBrgb(113, 114, 247)
HSLhsl(240, 89%, 71%)
HSVhsv(240, 54%, 97%)
CMYKcmyk(54.3%, 53.8%, 0%, 3.1%)
CIE-LABlab(54.30, 35.93, -66.98)
CIE-LCHlch(54.30, 76.01, 298.21°)
OKLaboklab(62.04% 0.0297 -0.1917)
OKLCHoklch(62.04% 0.194 278.8)
XYZxyz(29.6106, 22.2588, 90.7137)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7172F7 #F7F671
analogous
#71B5F7 #7172F7 #B371F7
triadic
#7172F7 #F77172 #72F771
tetradic
#7172F7 #F771B5 #F7F671 #71F7B3
square
#7172F7 #F771B5 #F7F671 #71F7B3
split-complementary
#7172F7 #F7B371 #B5F771
monochromatic
#0D0EE1 #3738F4 #7172F7 #ABACFA #E2E2FD

Accessibility & contrast

On white

3.85
#7172F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7172F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7172F7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7172F7#FFFFFF#000000##000000
##7172F71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#2F90AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7172f7;
/* rgb */ color: rgb(113, 114, 247);
/* oklch */ color: oklch(62.0% 0.194 278.8);
Tailwind
colors: {
  custom: {
    50: '#a49afb',
    500: '#7172f7',
    950: '#000000',
  },
}
SCSS
$custom: #7172f7;
$custom-light: #a49afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7172f7",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 239.552,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.19401,
    "h": 278.8
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#7172F7
secondary
#F4F4D0
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7172F7

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

Preview Lab → · Contrast checker → · Palette generator →

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