#7171F7#7171F7

#7171F7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.195 H 279.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7171F7
RGBrgb(113, 113, 247)
HSLhsl(240, 89%, 71%)
HSVhsv(240, 54%, 97%)
CMYKcmyk(54.3%, 54.3%, 0%, 3.1%)
CIE-LABlab(54.06, 36.53, -67.37)
CIE-LCHlch(54.06, 76.63, 298.47°)
OKLaboklab(61.86% 0.0307 -0.1929)
OKLCHoklch(61.86% 0.195 279)
XYZxyz(29.4984, 22.0345, 90.6763)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7171F7 #F7F771
analogous
#71B4F7 #7171F7 #B471F7
triadic
#7171F7 #F77171 #71F771
tetradic
#7171F7 #F771B4 #F7F771 #71F7B4
square
#7171F7 #F771B4 #F7F771 #71F7B4
split-complementary
#7171F7 #F7B471 #B4F771
monochromatic
#0D0DE1 #3737F4 #7171F7 #ABABFA #E2E2FD

Accessibility & contrast

On white

3.88
#7171F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7171F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7171F7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7171F7#FFFFFF#000000##000000
##7171F71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1787FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#2F90A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7171f7;
/* rgb */ color: rgb(113, 113, 247);
/* oklch */ color: oklch(61.9% 0.195 279.0);
Tailwind
colors: {
  custom: {
    50: '#a49afb',
    500: '#7171f7',
    950: '#000000',
  },
}
SCSS
$custom: #7171f7;
$custom-light: #a49afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7171f7",
  "rgb": {
    "r": 113,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.19529,
    "h": 279
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7171F7

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

Preview Lab → · Contrast checker → · Palette generator →

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