#7166E4#7166E4

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

Color values

HEX#7166E4
RGBrgb(113, 102, 228)
HSLhsl(245, 70%, 65%)
HSVhsv(245, 55%, 89%)
CMYKcmyk(50.4%, 55.3%, 0%, 10.6%)
CIE-LABlab(50.23, 37.25, -62.93)
CIE-LCHlch(50.23, 73.13, 300.63°)
OKLaboklab(58.61% 0.0417 -0.1799)
OKLCHoklch(58.61% 0.185 283)
XYZxyz(25.5608, 18.6135, 75.6297)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166E4 #D9E466
analogous
#669AE4 #7166E4 #B066E4
triadic
#7166E4 #E47166 #66E471
tetradic
#7166E4 #E4669A #D9E466 #66E4B0
square
#7166E4 #E4669A #D9E466 #66E4B0
split-complementary
#7166E4 #E4B066 #9AE466
monochromatic
#2C1FB0 #4132DB #7166E4 #A19AED #D2CEF6

Accessibility & contrast

On white

4.45
#7166E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7166E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166E4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166E4#FFFFFF#000000##000000
##7166E41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#44839B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7166e4;
/* rgb */ color: rgb(113, 102, 228);
/* oklch */ color: oklch(58.6% 0.185 283.0);
Tailwind
colors: {
  custom: {
    50: '#a292ed',
    500: '#7166e4',
    950: '#000000',
  },
}
SCSS
$custom: #7166e4;
$custom-light: #a292ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7166e4",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 245.238,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.18465,
    "h": 283
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#7166E4
secondary
#E5E9BD
accent
#D214C1
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7166E4

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

Preview Lab → · Contrast checker → · Palette generator →

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