#7166B8#7166B8

#7166B8 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.8% C 0.124 H 287.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7166B8
RGBrgb(113, 102, 184)
HSLhsl(248, 37%, 56%)
HSVhsv(248, 45%, 72%)
CMYKcmyk(38.6%, 44.6%, 0%, 27.8%)
CIE-LABlab(47.59, 24.34, -42.00)
CIE-LCHlch(47.59, 48.54, 300.10°)
OKLaboklab(55.78% 0.0381 -0.1184)
OKLCHoklch(55.78% 0.124 287.8)
XYZxyz(20.2108, 16.4735, 47.4529)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B8 #ADB866
analogous
#6684B8 #7166B8 #9A66B8
triadic
#7166B8 #B87166 #66B871
tetradic
#7166B8 #B86684 #ADB866 #66B89A
square
#7166B8 #B86684 #ADB866 #66B89A
split-complementary
#7166B8 #B89A66 #84B866
monochromatic
#3C3470 #52479A #7166B8 #9890CB #BFBADF

Accessibility & contrast

On white

4.89
#7166B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7166B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B8#FFFFFF#000000##FFFFFF
##7166B81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#496FB6
Tritanopia (blue-blind)
#5E7686
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7166b8;
/* rgb */ color: rgb(113, 102, 184);
/* oklch */ color: oklch(55.8% 0.124 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d91ce',
    500: '#7166b8',
    950: '#000000',
  },
}
SCSS
$custom: #7166b8;
$custom-light: #9d91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b8",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 248.049,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55783,
    "c": 0.12441,
    "h": 287.8
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#7166B8
secondary
#C9CEAC
accent
#CD5BBD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0D13
muted
#7E7D82

Preview Lab

Preview with #7166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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