#7166E5#7166E5

#7166E5 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.186 H 283.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7166E5
RGBrgb(113, 102, 229)
HSLhsl(245, 71%, 65%)
HSVhsv(245, 55%, 90%)
CMYKcmyk(50.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(50.30, 37.55, -63.39)
CIE-LCHlch(50.30, 73.68, 300.65°)
OKLaboklab(58.68% 0.0417 -0.1812)
OKLCHoklch(58.68% 0.186 283)
XYZxyz(25.7000, 18.6692, 76.3629)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166E5 #DAE566
analogous
#669AE5 #7166E5 #B166E5
triadic
#7166E5 #E57166 #66E571
tetradic
#7166E5 #E5669A #DAE566 #66E5B1
square
#7166E5 #E5669A #DAE566 #66E5B1
split-complementary
#7166E5 #E5B166 #9AE566
monochromatic
#2B1EB2 #4032DC #7166E5 #A29AEE #D2CFF7

Accessibility & contrast

On white

4.44
#7166E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7166E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166E5#FFFFFF#000000##000000
##7166E51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7CE9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#44839C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7166e5;
/* rgb */ color: rgb(113, 102, 229);
/* oklch */ color: oklch(58.7% 0.186 283.0);
Tailwind
colors: {
  custom: {
    50: '#a292ee',
    500: '#7166e5',
    950: '#000000',
  },
}
SCSS
$custom: #7166e5;
$custom-light: #a292ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7166e5",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 245.197,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58683,
    "c": 0.18596,
    "h": 283
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#7166E5
secondary
#E5E9BE
accent
#D313C2
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7166E5

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

Preview Lab → · Contrast checker → · Palette generator →

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