#7166CB#7166CB

#7166CB is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.9% C 0.151 H 285.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7166CB
RGBrgb(113, 102, 203)
HSLhsl(247, 49%, 60%)
HSVhsv(247, 50%, 80%)
CMYKcmyk(44.3%, 49.8%, 0%, 20.4%)
CIE-LABlab(48.67, 29.83, -51.24)
CIE-LCHlch(48.67, 59.29, 300.20°)
OKLaboklab(56.94% 0.0404 -0.1455)
OKLCHoklch(56.94% 0.151 285.5)
XYZxyz(22.3378, 17.3243, 58.6553)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166CB #C0CB66
analogous
#668DCB #7166CB #A466CB
triadic
#7166CB #CB7166 #66CB71
tetradic
#7166CB #CB668D #C0CB66 #66CBA4
square
#7166CB #CB668D #C0CB66 #66CBA4
split-complementary
#7166CB #CBA466 #8DCB66
monochromatic
#382E88 #4B3EB6 #7166CB #9B94DB #C6C1EA

Accessibility & contrast

On white

4.70
#7166CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7166CB#FFFFFF#000000##FFFFFF
##7166CB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#557B8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7166cb;
/* rgb */ color: rgb(113, 102, 203);
/* oklch */ color: oklch(56.9% 0.151 285.5);
Tailwind
colors: {
  custom: {
    50: '#9f92db',
    500: '#7166cb',
    950: '#000000',
  },
}
SCSS
$custom: #7166cb;
$custom-light: #9f92db;
$custom-dark: #000000;
JSON
{
  "hex": "#7166cb",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 246.535,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.15102,
    "h": 285.5
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#7166CB
secondary
#D6DAB3
accent
#D94FCA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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