#7166AE#7166AE

#7166AE is a mid, moderate blue. Relative luminance 0.161; OKLCH L 55.2% C 0.110 H 289.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7166AE
RGBrgb(113, 102, 174)
HSLhsl(249, 31%, 54%)
HSVhsv(249, 41%, 68%)
CMYKcmyk(35.1%, 41.4%, 0%, 31.8%)
CIE-LABlab(47.06, 21.54, -37.00)
CIE-LCHlch(47.06, 42.82, 300.21°)
OKLaboklab(55.21% 0.0364 -0.1039)
OKLCHoklch(55.21% 0.11 289.3)
XYZxyz(19.1994, 16.0690, 42.1262)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166AE #A3AE66
analogous
#667FAE #7166AE #9566AE
triadic
#7166AE #AE7166 #66AE71
tetradic
#7166AE #AE667F #A3AE66 #66AE95
square
#7166AE #AE667F #A3AE66 #66AE95
split-complementary
#7166AE #AE9566 #7FAE66
monochromatic
#3C3564 #544A8C #7166AE #968EC3 #BBB6D8

Accessibility & contrast

On white

4.98
#7166AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7166AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166AE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166AE#FFFFFF#000000##FFFFFF
##7166AE1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B1
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#627481
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166ae;
/* rgb */ color: rgb(113, 102, 174);
/* oklch */ color: oklch(55.2% 0.110 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c91c6',
    500: '#7166ae',
    950: '#000000',
  },
}
SCSS
$custom: #7166ae;
$custom-light: #9c91c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ae",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 249.167,
    "s": 30.769,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.11005,
    "h": 289.3
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#7166AE
secondary
#C3C7A9
accent
#C761B7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7166AE

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

Preview Lab → · Contrast checker → · Palette generator →

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