#7166BB#7166BB

#7166BB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.129 H 287.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7166BB
RGBrgb(113, 102, 187)
HSLhsl(248, 38%, 57%)
HSVhsv(248, 45%, 73%)
CMYKcmyk(39.6%, 45.5%, 0%, 26.7%)
CIE-LABlab(47.75, 25.20, -43.48)
CIE-LCHlch(47.75, 50.25, 300.09°)
OKLaboklab(55.96% 0.0385 -0.1228)
OKLCHoklch(55.96% 0.129 287.4)
XYZxyz(20.5286, 16.6006, 49.1267)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166BB #B0BB66
analogous
#6686BB #7166BB #9C66BB
triadic
#7166BB #BB7166 #66BB71
tetradic
#7166BB #BB6686 #B0BB66 #66BB9C
square
#7166BB #BB6686 #B0BB66 #66BB9C
split-complementary
#7166BB #BB9C66 #86BB66
monochromatic
#3C3373 #51469E #7166BB #9890CE #C0BBE1

Accessibility & contrast

On white

4.86
#7166BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7166BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166BB#FFFFFF#000000##FFFFFF
##7166BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#5D7787
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7166bb;
/* rgb */ color: rgb(113, 102, 187);
/* oklch */ color: oklch(56.0% 0.129 287.4);
Tailwind
colors: {
  custom: {
    50: '#9d91d0',
    500: '#7166bb',
    950: '#000000',
  },
}
SCSS
$custom: #7166bb;
$custom-light: #9d91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7166bb",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 247.765,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.12867,
    "h": 287.4
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#7166BB
secondary
#CBD0AD
accent
#CE59BF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0D14
muted
#7E7D82

Preview Lab

Preview with #7166BB

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

Preview Lab → · Contrast checker → · Palette generator →

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