#7166B9#7166B9

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

Color values

HEX#7166B9
RGBrgb(113, 102, 185)
HSLhsl(248, 37%, 56%)
HSVhsv(248, 45%, 73%)
CMYKcmyk(38.9%, 44.9%, 0%, 27.5%)
CIE-LABlab(47.64, 24.63, -42.49)
CIE-LCHlch(47.64, 49.11, 300.10°)
OKLaboklab(55.84% 0.0382 -0.1199)
OKLCHoklch(55.84% 0.126 287.7)
XYZxyz(20.3160, 16.5156, 48.0069)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B9 #AEB966
analogous
#6685B9 #7166B9 #9B66B9
triadic
#7166B9 #B97166 #66B971
tetradic
#7166B9 #B96685 #AEB966 #66B99B
square
#7166B9 #B96685 #AEB966 #66B99B
split-complementary
#7166B9 #B99B66 #85B966
monochromatic
#3C3471 #52479B #7166B9 #9890CC #BFBADF

Accessibility & contrast

On white

4.88
#7166B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7166B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B9#FFFFFF#000000##FFFFFF
##7166B91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BC
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#5D7686
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7166b9;
/* rgb */ color: rgb(113, 102, 185);
/* oklch */ color: oklch(55.8% 0.126 287.7);
Tailwind
colors: {
  custom: {
    50: '#9d91ce',
    500: '#7166b9',
    950: '#000000',
  },
}
SCSS
$custom: #7166b9;
$custom-light: #9d91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b9",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 247.952,
    "s": 37.22,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.12583,
    "h": 287.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#7166B9
secondary
#CACEAC
accent
#CD5BBE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0D14
muted
#7E7D82

Preview Lab

Preview with #7166B9

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

Preview Lab → · Contrast checker → · Palette generator →

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