#7166BD#7166BD

#7166BD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.131 H 287.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7166BD
RGBrgb(113, 102, 189)
HSLhsl(248, 40%, 57%)
HSVhsv(248, 46%, 74%)
CMYKcmyk(40.2%, 46%, 0%, 25.9%)
CIE-LABlab(47.86, 25.77, -44.46)
CIE-LCHlch(47.86, 51.39, 300.09°)
OKLaboklab(56.08% 0.0388 -0.1256)
OKLCHoklch(56.08% 0.131 287.2)
XYZxyz(20.7442, 16.6869, 50.2621)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166BD #B2BD66
analogous
#6687BD #7166BD #9D66BD
triadic
#7166BD #BD7166 #66BD71
tetradic
#7166BD #BD6687 #B2BD66 #66BD9D
square
#7166BD #BD6687 #B2BD66 #66BD9D
split-complementary
#7166BD #BD9D66 #87BD66
monochromatic
#3B3376 #5145A1 #7166BD #9991CF #C0BCE2

Accessibility & contrast

On white

4.84
#7166BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7166BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166BD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166BD#FFFFFF#000000##FFFFFF
##7166BD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#5C7788
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7166bd;
/* rgb */ color: rgb(113, 102, 189);
/* oklch */ color: oklch(56.1% 0.131 287.2);
Tailwind
colors: {
  custom: {
    50: '#9d91d1',
    500: '#7166bd',
    950: '#000000',
  },
}
SCSS
$custom: #7166bd;
$custom-light: #9d91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7166bd",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 247.586,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.13149,
    "h": 287.2
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#7166BD
secondary
#CDD1AE
accent
#D058C1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0D14
muted
#7E7D82

Preview Lab

Preview with #7166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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