#7171FC#7171FC

#7171FC is a light, highly saturated blue. Relative luminance 0.223; OKLCH L 62.2% C 0.202 H 278.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7171FC
RGBrgb(113, 113, 252)
HSLhsl(240, 96%, 72%)
HSVhsv(240, 55%, 99%)
CMYKcmyk(55.2%, 55.2%, 0%, 1.2%)
CIE-LABlab(54.39, 38.07, -69.60)
CIE-LCHlch(54.39, 79.34, 298.68°)
OKLaboklab(62.21% 0.0308 -0.1994)
OKLCHoklch(62.21% 0.202 278.8)
XYZxyz(30.2803, 22.3472, 94.7944)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7171FC #FCFC71
analogous
#71B7FC #7171FC #B771FC
triadic
#7171FC #FC7171 #71FC71
tetradic
#7171FC #FC71B7 #FCFC71 #71FCB7
square
#7171FC #FC71B7 #FCFC71 #71FCB7
split-complementary
#7171FC #FCB771 #B7FC71
monochromatic
#0505EE #3535FB #7171FC #ADADFD #E1E1FE

Accessibility & contrast

On white

3.84
#7171FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7171FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7171FC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7171FC#FFFFFF#000000##000000
##7171FC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007DF9
Tritanopia (blue-blind)
#2791AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7171fc;
/* rgb */ color: rgb(113, 113, 252);
/* oklch */ color: oklch(62.2% 0.202 278.8);
Tailwind
colors: {
  custom: {
    50: '#a49afe',
    500: '#7171fc',
    950: '#000000',
  },
}
SCSS
$custom: #7171fc;
$custom-light: #a49afe;
$custom-dark: #000000;
JSON
{
  "hex": "#7171fc",
  "rgb": {
    "r": 113,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 240,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.20181,
    "h": 278.8
  },
  "luminance": 0.22349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7171FC

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

Preview Lab → · Contrast checker → · Palette generator →

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