#7171EF#7171EF

#7171EF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.3% C 0.185 H 279.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7171EF
RGBrgb(113, 113, 239)
HSLhsl(240, 80%, 69%)
HSVhsv(240, 53%, 94%)
CMYKcmyk(52.7%, 52.7%, 0%, 6.3%)
CIE-LABlab(53.55, 34.06, -63.75)
CIE-LCHlch(53.55, 72.28, 298.12°)
OKLaboklab(61.31% 0.0304 -0.1822)
OKLCHoklch(61.31% 0.185 279.5)
XYZxyz(28.2903, 21.5512, 84.3137)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7171EF #EFEF71
analogous
#71B0EF #7171EF #B071EF
triadic
#7171EF #EF7171 #71EF71
tetradic
#7171EF #EF71B0 #EFEF71 #71EFB0
square
#7171EF #EF71B0 #EFEF71 #71EFB0
split-complementary
#7171EF #EFB071 #B0EF71
monochromatic
#1717CE #3A3AE9 #7171EF #A8A8F5 #DFDFFB

Accessibility & contrast

On white

3.95
#7171EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7171EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7171EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7171EF#FFFFFF#000000##000000
##7171EF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#127BEC
Tritanopia (blue-blind)
#398DA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7171ef;
/* rgb */ color: rgb(113, 113, 239);
/* oklch */ color: oklch(61.3% 0.185 279.5);
Tailwind
colors: {
  custom: {
    50: '#a39af5',
    500: '#7171ef',
    950: '#000000',
  },
}
SCSS
$custom: #7171ef;
$custom-light: #a39af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7171ef",
  "rgb": {
    "r": 113,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.18472,
    "h": 279.5
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

primary
#7171EF
secondary
#F0F0CB
accent
#DC09DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7171EF

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

Preview Lab → · Contrast checker → · Palette generator →

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