#7172FC#7172FC

#7172FC is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.4% C 0.201 H 278.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7172FC
RGBrgb(113, 114, 252)
HSLhsl(240, 96%, 72%)
HSVhsv(240, 55%, 99%)
CMYKcmyk(55.2%, 54.8%, 0%, 1.2%)
CIE-LABlab(54.63, 37.48, -69.22)
CIE-LCHlch(54.63, 78.72, 298.43°)
OKLaboklab(62.39% 0.0298 -0.1983)
OKLCHoklch(62.39% 0.201 278.6)
XYZxyz(30.3925, 22.5716, 94.8318)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7172FC #FCFB71
analogous
#71B8FC #7172FC #B671FC
triadic
#7172FC #FC7172 #72FC71
tetradic
#7172FC #FC71B8 #FCFB71 #71FCB6
square
#7172FC #FC71B8 #FCFB71 #71FCB6
split-complementary
#7172FC #FCB671 #B8FC71
monochromatic
#0507EE #3536FB #7172FC #ADAEFD #E1E1FE

Accessibility & contrast

On white

3.81
#7172FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7172FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7172FC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7172FC#FFFFFF#000000##000000
##7172FC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0988FF
Deuteranopia (green-blind)
#007DF9
Tritanopia (blue-blind)
#2792AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7172fc;
/* rgb */ color: rgb(113, 114, 252);
/* oklch */ color: oklch(62.4% 0.201 278.6);
Tailwind
colors: {
  custom: {
    50: '#a49afe',
    500: '#7172fc',
    950: '#000000',
  },
}
SCSS
$custom: #7172fc;
$custom-light: #a49afe;
$custom-dark: #000000;
JSON
{
  "hex": "#7172fc",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 239.568,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62385,
    "c": 0.20055,
    "h": 278.6
  },
  "luminance": 0.22574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7172FC

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

Preview Lab → · Contrast checker → · Palette generator →

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