#7166BC#7166BC

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

Color values

HEX#7166BC
RGBrgb(113, 102, 188)
HSLhsl(248, 39%, 57%)
HSVhsv(248, 46%, 74%)
CMYKcmyk(39.9%, 45.7%, 0%, 26.3%)
CIE-LABlab(47.81, 25.48, -43.97)
CIE-LCHlch(47.81, 50.82, 300.09°)
OKLaboklab(56.02% 0.0387 -0.1242)
OKLCHoklch(56.02% 0.13 287.3)
XYZxyz(20.6360, 16.6436, 49.6925)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166BC #B1BC66
analogous
#6686BC #7166BC #9C66BC
triadic
#7166BC #BC7166 #66BC71
tetradic
#7166BC #BC6686 #B1BC66 #66BC9C
square
#7166BC #BC6686 #B1BC66 #66BC9C
split-complementary
#7166BC #BC9C66 #86BC66
monochromatic
#3B3375 #51469F #7166BC #9991CF #C0BBE1

Accessibility & contrast

On white

4.85
#7166BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7166BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166BC#FFFFFF#000000##FFFFFF
##7166BC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674BF
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#5C7788
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7166bc;
/* rgb */ color: rgb(113, 102, 188);
/* oklch */ color: oklch(56.0% 0.130 287.3);
Tailwind
colors: {
  custom: {
    50: '#9d91d0',
    500: '#7166bc',
    950: '#000000',
  },
}
SCSS
$custom: #7166bc;
$custom-light: #9d91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7166bc",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 247.674,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.13009,
    "h": 287.3
  },
  "luminance": 0.16644
}

Semantic roles & 50–950 ramp

primary
#7166BC
secondary
#CCD0AD
accent
#CF59C0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0D14
muted
#7E7D82

Preview Lab

Preview with #7166BC

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

Preview Lab → · Contrast checker → · Palette generator →

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