#7171F6#7171F6

#7171F6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.194 H 279.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7171F6
RGBrgb(113, 113, 246)
HSLhsl(240, 88%, 70%)
HSVhsv(240, 54%, 96%)
CMYKcmyk(54.1%, 54.1%, 0%, 3.5%)
CIE-LABlab(54.00, 36.22, -66.92)
CIE-LCHlch(54.00, 76.09, 298.42°)
OKLaboklab(61.79% 0.0307 -0.1915)
OKLCHoklch(61.79% 0.194 279.1)
XYZxyz(29.3445, 21.9729, 89.8658)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7171F6 #F6F671
analogous
#71B3F6 #7171F6 #B371F6
triadic
#7171F6 #F67171 #71F671
tetradic
#7171F6 #F671B3 #F6F671 #71F6B3
square
#7171F6 #F671B3 #F6F671 #71F6B3
split-complementary
#7171F6 #F6B371 #B3F671
monochromatic
#0E0EDE #3737F2 #7171F6 #ABABFA #E2E2FD

Accessibility & contrast

On white

3.89
#7171F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7171F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7171F6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7171F6#FFFFFF#000000##000000
##7171F61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A86FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#3090A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7171f6;
/* rgb */ color: rgb(113, 113, 246);
/* oklch */ color: oklch(61.8% 0.194 279.1);
Tailwind
colors: {
  custom: {
    50: '#a39afa',
    500: '#7171f6',
    950: '#000000',
  },
}
SCSS
$custom: #7171f6;
$custom-light: #a39afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7171f6",
  "rgb": {
    "r": 113,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61791,
    "c": 0.19398,
    "h": 279.1
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#7171F6
secondary
#F4F4CF
accent
#E501E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7171F6

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

Preview Lab → · Contrast checker → · Palette generator →

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