#7166B3#7166B3

#7166B3 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.5% C 0.117 H 288.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7166B3
RGBrgb(113, 102, 179)
HSLhsl(249, 34%, 55%)
HSVhsv(249, 43%, 70%)
CMYKcmyk(36.9%, 43%, 0%, 29.8%)
CIE-LABlab(47.32, 22.93, -39.51)
CIE-LCHlch(47.32, 45.68, 300.13°)
OKLaboklab(55.5% 0.0373 -0.1112)
OKLCHoklch(55.5% 0.117 288.5)
XYZxyz(19.6959, 16.2676, 44.7413)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166B3 #A8B366
analogous
#6682B3 #7166B3 #9766B3
triadic
#7166B3 #B37166 #66B371
tetradic
#7166B3 #B36682 #A8B366 #66B397
square
#7166B3 #B36682 #A8B366 #66B397
split-complementary
#7166B3 #B39766 #82B366
monochromatic
#3C356A #544993 #7166B3 #978FC7 #BDB8DC

Accessibility & contrast

On white

4.94
#7166B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7166B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166B3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166B3#FFFFFF#000000##FFFFFF
##7166B31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#607584
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166b3;
/* rgb */ color: rgb(113, 102, 179);
/* oklch */ color: oklch(55.5% 0.117 288.5);
Tailwind
colors: {
  custom: {
    50: '#9c91ca',
    500: '#7166b3',
    950: '#000000',
  },
}
SCSS
$custom: #7166b3;
$custom-light: #9c91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7166b3",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 248.571,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.11726,
    "h": 288.5
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#7166B3
secondary
#C6CBAA
accent
#CA5EBA
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0D13
muted
#7E7D82

Preview Lab

Preview with #7166B3

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

Preview Lab → · Contrast checker → · Palette generator →

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