#7166B1#7166B1

#7166B1 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 55.4% C 0.114 H 288.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7166B1
RGBrgb(113, 102, 177)
HSLhsl(249, 32%, 55%)
HSVhsv(249, 42%, 69%)
CMYKcmyk(36.2%, 42.4%, 0%, 30.6%)
CIE-LABlab(47.22, 22.37, -38.51)
CIE-LCHlch(47.22, 44.54, 300.16°)
OKLaboklab(55.38% 0.0369 -0.1083)
OKLCHoklch(55.38% 0.114 288.8)
XYZxyz(19.4951, 16.1872, 43.6838)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B1 #A6B166
analogous
#6681B1 #7166B1 #9766B1
triadic
#7166B1 #B17166 #66B171
tetradic
#7166B1 #B16681 #A6B166 #66B197
square
#7166B1 #B16681 #A6B166 #66B197
split-complementary
#7166B1 #B19766 #81B166
monochromatic
#3C3568 #544A90 #7166B1 #978FC6 #BCB7DA

Accessibility & contrast

On white

4.96
#7166B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7166B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B1#FFFFFF#000000##FFFFFF
##7166B11.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B4
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#617483
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166b1;
/* rgb */ color: rgb(113, 102, 177);
/* oklch */ color: oklch(55.4% 0.114 288.8);
Tailwind
colors: {
  custom: {
    50: '#9c91c8',
    500: '#7166b1',
    950: '#000000',
  },
}
SCSS
$custom: #7166b1;
$custom-light: #9c91c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b1",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 248.8,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.11438,
    "h": 288.8
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#7166B1
secondary
#C5C9AA
accent
#C95FB9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7166B1

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

Preview Lab → · Contrast checker → · Palette generator →

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