#7166BE#7166BE

#7166BE is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.133 H 287.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7166BE
RGBrgb(113, 102, 190)
HSLhsl(248, 40%, 57%)
HSVhsv(248, 46%, 75%)
CMYKcmyk(40.5%, 46.3%, 0%, 25.5%)
CIE-LABlab(47.92, 26.05, -44.95)
CIE-LCHlch(47.92, 51.96, 300.10°)
OKLaboklab(56.14% 0.0389 -0.1271)
OKLCHoklch(56.14% 0.133 287)
XYZxyz(20.8531, 16.7304, 50.8358)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166BE #B3BE66
analogous
#6687BE #7166BE #9D66BE
triadic
#7166BE #BE7166 #66BE71
tetradic
#7166BE #BE6687 #B3BE66 #66BE9D
square
#7166BE #BE6687 #B3BE66 #66BE9D
split-complementary
#7166BE #BE9D66 #87BE66
monochromatic
#3B3377 #5045A2 #7166BE #9991D0 #C1BCE2

Accessibility & contrast

On white

4.83
#7166BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7166BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7166BE#FFFFFF#000000##FFFFFF
##7166BE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#5B7889
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7166be;
/* rgb */ color: rgb(113, 102, 190);
/* oklch */ color: oklch(56.1% 0.133 287.0);
Tailwind
colors: {
  custom: {
    50: '#9d91d2',
    500: '#7166be',
    950: '#000000',
  },
}
SCSS
$custom: #7166be;
$custom-light: #9d91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7166be",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 247.5,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.13291,
    "h": 287
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#7166BE
secondary
#CDD2AE
accent
#D058C1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0D14
muted
#7E7D82

Preview Lab

Preview with #7166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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