#7166CC#7166CC

#7166CC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.152 H 285.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7166CC
RGBrgb(113, 102, 204)
HSLhsl(246, 50%, 60%)
HSVhsv(246, 50%, 80%)
CMYKcmyk(44.6%, 50%, 0%, 20%)
CIE-LABlab(48.73, 30.12, -51.72)
CIE-LCHlch(48.73, 59.85, 300.21°)
OKLaboklab(57.01% 0.0405 -0.1469)
OKLCHoklch(57.01% 0.152 285.4)
XYZxyz(22.4573, 17.3721, 59.2849)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166CC #C1CC66
analogous
#668ECC #7166CC #A466CC
triadic
#7166CC #CC7166 #66CC71
tetradic
#7166CC #CC668E #C1CC66 #66CCA4
square
#7166CC #CC668E #C1CC66 #66CCA4
split-complementary
#7166CC #CCA466 #8ECC66
monochromatic
#382E8A #4A3DB8 #7166CC #9C94DB #C6C2EB

Accessibility & contrast

On white

4.69
#7166CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7166CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7166CC#FFFFFF#000000##FFFFFF
##7166CC1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#547C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7166cc;
/* rgb */ color: rgb(113, 102, 204);
/* oklch */ color: oklch(57.0% 0.152 285.4);
Tailwind
colors: {
  custom: {
    50: '#9f92dc',
    500: '#7166cc',
    950: '#000000',
  },
}
SCSS
$custom: #7166cc;
$custom-light: #9f92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7166cc",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 246.471,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.15239,
    "h": 285.4
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#7166CC
secondary
#D6DBB3
accent
#DA4ECA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166CC

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

Preview Lab → · Contrast checker → · Palette generator →

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