#7166E8#7166E8

#7166E8 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.9% C 0.190 H 282.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7166E8
RGBrgb(113, 102, 232)
HSLhsl(245, 74%, 65%)
HSVhsv(245, 56%, 91%)
CMYKcmyk(51.3%, 56%, 0%, 9%)
CIE-LABlab(50.50, 38.46, -64.75)
CIE-LCHlch(50.50, 75.31, 300.71°)
OKLaboklab(58.89% 0.0417 -0.1852)
OKLCHoklch(58.89% 0.19 282.7)
XYZxyz(26.1225, 18.8382, 78.5880)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166E8 #DDE866
analogous
#669CE8 #7166E8 #B266E8
triadic
#7166E8 #E87166 #66E871
tetradic
#7166E8 #E8669C #DDE866 #66E8B2
square
#7166E8 #E8669C #DDE866 #66E8B2
split-complementary
#7166E8 #E8B266 #9CE866
monochromatic
#291CB8 #4031E0 #7166E8 #A29BF0 #D4D0F8

Accessibility & contrast

On white

4.40
#7166E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7166E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166E8#FFFFFF#000000##000000
##7166E81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#41849D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7166e8;
/* rgb */ color: rgb(113, 102, 232);
/* oklch */ color: oklch(58.9% 0.190 282.7);
Tailwind
colors: {
  custom: {
    50: '#a292f0',
    500: '#7166e8',
    950: '#000000',
  },
}
SCSS
$custom: #7166e8;
$custom-light: #a292f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7166e8",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 245.077,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.18988,
    "h": 282.7
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#7166E8
secondary
#E7EBBF
accent
#D610C5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166E8

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

Preview Lab → · Contrast checker → · Palette generator →

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