#7166E7#7166E7

#7166E7 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.8% C 0.189 H 282.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7166E7
RGBrgb(113, 102, 231)
HSLhsl(245, 73%, 65%)
HSVhsv(245, 56%, 91%)
CMYKcmyk(51.1%, 55.8%, 0%, 9.4%)
CIE-LABlab(50.43, 38.16, -64.30)
CIE-LCHlch(50.43, 74.77, 300.69°)
OKLaboklab(58.82% 0.0417 -0.1839)
OKLCHoklch(58.82% 0.189 282.8)
XYZxyz(25.9808, 18.7815, 77.8420)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166E7 #DCE766
analogous
#669CE7 #7166E7 #B166E7
triadic
#7166E7 #E77166 #66E771
tetradic
#7166E7 #E7669C #DCE766 #66E7B1
square
#7166E7 #E7669C #DCE766 #66E7B1
split-complementary
#7166E7 #E7B166 #9CE766
monochromatic
#2A1DB6 #4031DF #7166E7 #A29BEF #D3D0F8

Accessibility & contrast

On white

4.41
#7166E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7166E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166E7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166E7#FFFFFF#000000##000000
##7166E71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEB
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#42839D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7166e7;
/* rgb */ color: rgb(113, 102, 231);
/* oklch */ color: oklch(58.8% 0.189 282.8);
Tailwind
colors: {
  custom: {
    50: '#a292ef',
    500: '#7166e7',
    950: '#000000',
  },
}
SCSS
$custom: #7166e7;
$custom-light: #a292ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7166e7",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 245.116,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.18857,
    "h": 282.8
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#7166E7
secondary
#E6EABF
accent
#D511C4
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166E7

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

Preview Lab → · Contrast checker → · Palette generator →

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