#7166B2#7166B2

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

Color values

HEX#7166B2
RGBrgb(113, 102, 178)
HSLhsl(249, 33%, 55%)
HSVhsv(249, 43%, 70%)
CMYKcmyk(36.5%, 42.7%, 0%, 30.2%)
CIE-LABlab(47.27, 22.65, -39.01)
CIE-LCHlch(47.27, 45.11, 300.14°)
OKLaboklab(55.44% 0.0371 -0.1097)
OKLCHoklch(55.44% 0.116 288.7)
XYZxyz(19.5951, 16.2273, 44.2106)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B2 #A7B266
analogous
#6681B2 #7166B2 #9766B2
triadic
#7166B2 #B27166 #66B271
tetradic
#7166B2 #B26681 #A7B266 #66B297
square
#7166B2 #B26681 #A7B266 #66B297
split-complementary
#7166B2 #B29766 #81B266
monochromatic
#3C3569 #544992 #7166B2 #978FC6 #BDB7DB

Accessibility & contrast

On white

4.95
#7166B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7166B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B2#FFFFFF#000000##FFFFFF
##7166B21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#607583
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166b2;
/* rgb */ color: rgb(113, 102, 178);
/* oklch */ color: oklch(55.4% 0.116 288.7);
Tailwind
colors: {
  custom: {
    50: '#9c91c9',
    500: '#7166b2',
    950: '#000000',
  },
}
SCSS
$custom: #7166b2;
$custom-light: #9c91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b2",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 248.684,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.11582,
    "h": 288.7
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#7166B2
secondary
#C5CAAA
accent
#C95FBA
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0D13
muted
#7E7D82

Preview Lab

Preview with #7166B2

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

Preview Lab → · Contrast checker → · Palette generator →

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