#7166AC#7166AC

#7166AC is a mid, moderate blue. Relative luminance 0.160; OKLCH L 55.1% C 0.107 H 289.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7166AC
RGBrgb(113, 102, 172)
HSLhsl(249, 30%, 54%)
HSVhsv(249, 41%, 67%)
CMYKcmyk(34.3%, 40.7%, 0%, 32.5%)
CIE-LABlab(46.96, 20.99, -35.99)
CIE-LCHlch(46.96, 41.67, 300.25°)
OKLaboklab(55.1% 0.036 -0.1009)
OKLCHoklch(55.1% 0.107 289.6)
XYZxyz(19.0059, 15.9915, 41.1070)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166AC #A1AC66
analogous
#667EAC #7166AC #9466AC
triadic
#7166AC #AC7166 #66AC71
tetradic
#7166AC #AC667E #A1AC66 #66AC94
square
#7166AC #AC667E #A1AC66 #66AC94
split-complementary
#7166AC #AC9466 #7EAC66
monochromatic
#3C3562 #554B8A #7166AC #968EC2 #BBB5D7

Accessibility & contrast

On white

5.00
#7166AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7166AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166AC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166AC#FFFFFF#000000##FFFFFF
##7166AC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#506EAA
Tritanopia (blue-blind)
#627381
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7166ac;
/* rgb */ color: rgb(113, 102, 172);
/* oklch */ color: oklch(55.1% 0.107 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c91c5',
    500: '#7166ac',
    950: '#000000',
  },
}
SCSS
$custom: #7166ac;
$custom-light: #9c91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ac",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 249.429,
    "s": 29.661,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55104,
    "c": 0.10716,
    "h": 289.6
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#7166AC
secondary
#C1C6A8
accent
#C662B6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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