#7166AD#7166AD

#7166AD is a mid, moderate blue. Relative luminance 0.160; OKLCH L 55.2% C 0.109 H 289.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7166AD
RGBrgb(113, 102, 173)
HSLhsl(249, 30%, 54%)
HSVhsv(249, 41%, 68%)
CMYKcmyk(34.7%, 41%, 0%, 32.2%)
CIE-LABlab(47.01, 21.27, -36.50)
CIE-LCHlch(47.01, 42.24, 300.23°)
OKLaboklab(55.16% 0.0362 -0.1024)
OKLCHoklch(55.16% 0.109 289.5)
XYZxyz(19.1023, 16.0301, 41.6147)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166AD #A2AD66
analogous
#667FAD #7166AD #9566AD
triadic
#7166AD #AD7166 #66AD71
tetradic
#7166AD #AD667F #A2AD66 #66AD95
square
#7166AD #AD667F #A2AD66 #66AD95
split-complementary
#7166AD #AD9566 #7FAD66
monochromatic
#3C3563 #554B8B #7166AD #968EC2 #BBB6D8

Accessibility & contrast

On white

4.99
#7166AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7166AD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166AD#FFFFFF#000000##FFFFFF
##7166AD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7166ad;
/* rgb */ color: rgb(113, 102, 173);
/* oklch */ color: oklch(55.2% 0.109 289.5);
Tailwind
colors: {
  custom: {
    50: '#9c91c6',
    500: '#7166ad',
    950: '#000000',
  },
}
SCSS
$custom: #7166ad;
$custom-light: #9c91c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ad",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 173
  },
  "hsl": {
    "h": 249.296,
    "s": 30.213,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.1086,
    "h": 289.5
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#7166AD
secondary
#C2C7A8
accent
#C661B7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7166AD

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

Preview Lab → · Contrast checker → · Palette generator →

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