#7166C2#7166C2

#7166C2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.4% C 0.139 H 286.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7166C2
RGBrgb(113, 102, 194)
HSLhsl(247, 43%, 58%)
HSVhsv(247, 47%, 76%)
CMYKcmyk(41.8%, 47.4%, 0%, 23.9%)
CIE-LABlab(48.14, 27.21, -46.90)
CIE-LCHlch(48.14, 54.22, 300.12°)
OKLaboklab(56.38% 0.0394 -0.1328)
OKLCHoklch(56.38% 0.139 286.5)
XYZxyz(21.2963, 16.9077, 53.1699)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166C2 #B7C266
analogous
#6689C2 #7166C2 #9F66C2
triadic
#7166C2 #C27166 #66C271
tetradic
#7166C2 #C26689 #B7C266 #66C29F
square
#7166C2 #C26689 #B7C266 #66C29F
split-complementary
#7166C2 #C29F66 #89C266
monochromatic
#3A317C #4F43A8 #7166C2 #9A92D3 #C2BEE5

Accessibility & contrast

On white

4.79
#7166C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7166C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7166C2#FFFFFF#000000##FFFFFF
##7166C21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#4070C0
Tritanopia (blue-blind)
#59798B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7166c2;
/* rgb */ color: rgb(113, 102, 194);
/* oklch */ color: oklch(56.4% 0.139 286.5);
Tailwind
colors: {
  custom: {
    50: '#9e91d5',
    500: '#7166c2',
    950: '#000000',
  },
}
SCSS
$custom: #7166c2;
$custom-light: #9e91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7166c2",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 247.174,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.13852,
    "h": 286.5
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#7166C2
secondary
#D0D4B0
accent
#D355C4
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0D14
muted
#7F7D83

Preview Lab

Preview with #7166C2

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

Preview Lab → · Contrast checker → · Palette generator →

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