#7166B5#7166B5

#7166B5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.6% C 0.120 H 288.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7166B5
RGBrgb(113, 102, 181)
HSLhsl(248, 35%, 55%)
HSVhsv(248, 44%, 71%)
CMYKcmyk(37.6%, 43.6%, 0%, 29%)
CIE-LABlab(47.43, 23.49, -40.51)
CIE-LCHlch(47.43, 46.83, 300.11°)
OKLaboklab(55.61% 0.0376 -0.1141)
OKLCHoklch(55.61% 0.12 288.2)
XYZxyz(19.8996, 16.3491, 45.8143)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B5 #AAB566
analogous
#6682B5 #7166B5 #9866B5
triadic
#7166B5 #B57166 #66B571
tetradic
#7166B5 #B56682 #AAB566 #66B598
square
#7166B5 #B56682 #AAB566 #66B598
split-complementary
#7166B5 #B59866 #82B566
monochromatic
#3C346C #534895 #7166B5 #978FC9 #BEB8DD

Accessibility & contrast

On white

4.92
#7166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7166B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B5#FFFFFF#000000##FFFFFF
##7166B51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#5F7585
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166b5;
/* rgb */ color: rgb(113, 102, 181);
/* oklch */ color: oklch(55.6% 0.120 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d91cb',
    500: '#7166b5',
    950: '#000000',
  },
}
SCSS
$custom: #7166b5;
$custom-light: #9d91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b5",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 248.354,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.12013,
    "h": 288.2
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#7166B5
secondary
#C7CCAB
accent
#CB5DBC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0D13
muted
#7E7D82

Preview Lab

Preview with #7166B5

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

Preview Lab → · Contrast checker → · Palette generator →

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