#7166AA#7166AA

#7166AA is a mid, moderate blue. Relative luminance 0.159; OKLCH L 55.0% C 0.104 H 290.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7166AA
RGBrgb(113, 102, 170)
HSLhsl(250, 29%, 53%)
HSVhsv(250, 40%, 67%)
CMYKcmyk(33.5%, 40%, 0%, 33.3%)
CIE-LABlab(46.86, 20.44, -34.98)
CIE-LCHlch(46.86, 40.51, 300.30°)
OKLaboklab(55% 0.0356 -0.098)
OKLCHoklch(55% 0.104 290)
XYZxyz(18.8152, 15.9153, 40.1031)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166AA #9FAA66
analogous
#667DAA #7166AA #9366AA
triadic
#7166AA #AA7166 #66AA71
tetradic
#7166AA #AA667D #9FAA66 #66AA93
square
#7166AA #AA667D #9FAA66 #66AA93
split-complementary
#7166AA #AA9366 #7DAA66
monochromatic
#3C3560 #554B88 #7166AA #968DC0 #BAB5D6

Accessibility & contrast

On white

5.02
#7166AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7166AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7166AA#FFFFFF#000000##FFFFFF
##7166AA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5170AD
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#637380
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7166aa;
/* rgb */ color: rgb(113, 102, 170);
/* oklch */ color: oklch(55.0% 0.104 290.0);
Tailwind
colors: {
  custom: {
    50: '#9c91c3',
    500: '#7166aa',
    950: '#000000',
  },
}
SCSS
$custom: #7166aa;
$custom-light: #9c91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7166aa",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 249.706,
    "s": 28.571,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.10425,
    "h": 290
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#7166AA
secondary
#C0C5A7
accent
#C563B5
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #7166AA

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

Preview Lab → · Contrast checker → · Palette generator →

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