#7166C8#7166C8

#7166C8 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.147 H 285.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7166C8
RGBrgb(113, 102, 200)
HSLhsl(247, 47%, 59%)
HSVhsv(247, 49%, 78%)
CMYKcmyk(43.5%, 49%, 0%, 21.6%)
CIE-LABlab(48.49, 28.95, -49.80)
CIE-LCHlch(48.49, 57.60, 300.17°)
OKLaboklab(56.75% 0.0401 -0.1413)
OKLCHoklch(56.75% 0.147 285.8)
XYZxyz(21.9838, 17.1827, 56.7907)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166C8 #BDC866
analogous
#668CC8 #7166C8 #A266C8
triadic
#7166C8 #C87166 #66C871
tetradic
#7166C8 #C8668C #BDC866 #66C8A2
square
#7166C8 #C8668C #BDC866 #66C8A2
split-complementary
#7166C8 #C8A266 #8CC866
monochromatic
#392F84 #4C40B1 #7166C8 #9B93D8 #C5C0E8

Accessibility & contrast

On white

4.73
#7166C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7166C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7166C8#FFFFFF#000000##FFFFFF
##7166C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#3B70C6
Tritanopia (blue-blind)
#567A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7166c8;
/* rgb */ color: rgb(113, 102, 200);
/* oklch */ color: oklch(56.8% 0.147 285.8);
Tailwind
colors: {
  custom: {
    50: '#9e91d9',
    500: '#7166c8',
    950: '#000000',
  },
}
SCSS
$custom: #7166c8;
$custom-light: #9e91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7166c8",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 246.735,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.14688,
    "h": 285.8
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#7166C8
secondary
#D4D8B2
accent
#D751C8
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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