#7166B0#7166B0

#7166B0 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 55.3% C 0.113 H 289.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7166B0
RGBrgb(113, 102, 176)
HSLhsl(249, 32%, 55%)
HSVhsv(249, 42%, 69%)
CMYKcmyk(35.8%, 42%, 0%, 31%)
CIE-LABlab(47.17, 22.10, -38.01)
CIE-LCHlch(47.17, 43.96, 300.17°)
OKLaboklab(55.33% 0.0367 -0.1068)
OKLCHoklch(55.33% 0.113 289)
XYZxyz(19.3958, 16.1475, 43.1607)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B0 #A5B066
analogous
#6680B0 #7166B0 #9666B0
triadic
#7166B0 #B07166 #66B071
tetradic
#7166B0 #B06680 #A5B066 #66B096
square
#7166B0 #B06680 #A5B066 #66B096
split-complementary
#7166B0 #B09666 #80B066
monochromatic
#3C3567 #544A8F #7166B0 #968EC5 #BCB7DA

Accessibility & contrast

On white

4.97
#7166B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7166B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B0#FFFFFF#000000##FFFFFF
##7166B01.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B3
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#617482
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166b0;
/* rgb */ color: rgb(113, 102, 176);
/* oklch */ color: oklch(55.3% 0.113 289.0);
Tailwind
colors: {
  custom: {
    50: '#9c91c8',
    500: '#7166b0',
    950: '#000000',
  },
}
SCSS
$custom: #7166b0;
$custom-light: #9c91c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b0",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 248.919,
    "s": 31.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.11294,
    "h": 289
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#7166B0
secondary
#C4C9A9
accent
#C860B9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7166B0

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

Preview Lab → · Contrast checker → · Palette generator →

#7166B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva