#7166B7#7166B7

#7166B7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.123 H 288.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7166B7
RGBrgb(113, 102, 183)
HSLhsl(248, 36%, 56%)
HSVhsv(248, 44%, 72%)
CMYKcmyk(38.3%, 44.3%, 0%, 28.2%)
CIE-LABlab(47.54, 24.06, -41.50)
CIE-LCHlch(47.54, 47.97, 300.10°)
OKLaboklab(55.73% 0.0379 -0.117)
OKLCHoklch(55.73% 0.123 288)
XYZxyz(20.1063, 16.4317, 46.9028)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B7 #ACB766
analogous
#6683B7 #7166B7 #9966B7
triadic
#7166B7 #B77166 #66B771
tetradic
#7166B7 #B76683 #ACB766 #66B799
square
#7166B7 #B76683 #ACB766 #66B799
split-complementary
#7166B7 #B79966 #83B766
monochromatic
#3C346F #534898 #7166B7 #9890CB #BEB9DE

Accessibility & contrast

On white

4.90
#7166B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7166B7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B7#FFFFFF#000000##FFFFFF
##7166B71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#496FB5
Tritanopia (blue-blind)
#5E7686
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7166b7;
/* rgb */ color: rgb(113, 102, 183);
/* oklch */ color: oklch(55.7% 0.123 288.0);
Tailwind
colors: {
  custom: {
    50: '#9d91cd',
    500: '#7166b7',
    950: '#000000',
  },
}
SCSS
$custom: #7166b7;
$custom-light: #9d91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b7",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 248.148,
    "s": 36,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.12298,
    "h": 288
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#7166B7
secondary
#C9CDAC
accent
#CC5CBD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0D13
muted
#7E7D82

Preview Lab

Preview with #7166B7

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

Preview Lab → · Contrast checker → · Palette generator →

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