#7166AF#7166AF

#7166AF is a mid, moderate blue. Relative luminance 0.161; OKLCH L 55.3% C 0.112 H 289.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7166AF
RGBrgb(113, 102, 175)
HSLhsl(249, 31%, 54%)
HSVhsv(249, 42%, 69%)
CMYKcmyk(35.4%, 41.7%, 0%, 31.4%)
CIE-LABlab(47.12, 21.82, -37.51)
CIE-LCHlch(47.12, 43.39, 300.19°)
OKLaboklab(55.27% 0.0366 -0.1053)
OKLCHoklch(55.27% 0.112 289.1)
XYZxyz(19.2972, 16.1081, 42.6416)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166AF #A4AF66
analogous
#6680AF #7166AF #9666AF
triadic
#7166AF #AF7166 #66AF71
tetradic
#7166AF #AF6680 #A4AF66 #66AF96
square
#7166AF #AF6680 #A4AF66 #66AF96
split-complementary
#7166AF #AF9666 #80AF66
monochromatic
#3C3566 #544A8E #7166AF #968EC4 #BCB6D9

Accessibility & contrast

On white

4.97
#7166AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7166AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166AF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166AF#FFFFFF#000000##FFFFFF
##7166AF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#617482
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7166af;
/* rgb */ color: rgb(113, 102, 175);
/* oklch */ color: oklch(55.3% 0.112 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c91c7',
    500: '#7166af',
    950: '#000000',
  },
}
SCSS
$custom: #7166af;
$custom-light: #9c91c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7166af",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 249.041,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.1115,
    "h": 289.1
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#7166AF
secondary
#C3C8A9
accent
#C860B8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7166AF

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

Preview Lab → · Contrast checker → · Palette generator →

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