#7166B4#7166B4

#7166B4 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.6% C 0.119 H 288.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7166B4
RGBrgb(113, 102, 180)
HSLhsl(248, 34%, 55%)
HSVhsv(248, 43%, 71%)
CMYKcmyk(37.2%, 43.3%, 0%, 29.4%)
CIE-LABlab(47.38, 23.21, -40.01)
CIE-LCHlch(47.38, 46.26, 300.12°)
OKLaboklab(55.55% 0.0374 -0.1126)
OKLCHoklch(55.55% 0.119 288.4)
XYZxyz(19.7974, 16.3082, 45.2759)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B4 #A9B466
analogous
#6682B4 #7166B4 #9866B4
triadic
#7166B4 #B47166 #66B471
tetradic
#7166B4 #B46682 #A9B466 #66B498
square
#7166B4 #B46682 #A9B466 #66B498
split-complementary
#7166B4 #B49866 #82B466
monochromatic
#3C346B #534994 #7166B4 #978FC8 #BDB8DC

Accessibility & contrast

On white

4.93
#7166B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7166B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B4#FFFFFF#000000##FFFFFF
##7166B41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B7
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#5F7584
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166b4;
/* rgb */ color: rgb(113, 102, 180);
/* oklch */ color: oklch(55.6% 0.119 288.4);
Tailwind
colors: {
  custom: {
    50: '#9d91cb',
    500: '#7166b4',
    950: '#000000',
  },
}
SCSS
$custom: #7166b4;
$custom-light: #9d91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b4",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 248.462,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.1187,
    "h": 288.4
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#7166B4
secondary
#C7CBAB
accent
#CA5EBB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0D13
muted
#7E7D82

Preview Lab

Preview with #7166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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