#7166F8#7166F8

#7166F8 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.1% C 0.210 H 281.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7166F8
RGBrgb(113, 102, 248)
HSLhsl(245, 91%, 69%)
HSVhsv(245, 59%, 97%)
CMYKcmyk(54.4%, 58.9%, 0%, 2.7%)
CIE-LABlab(51.60, 43.29, -71.92)
CIE-LCHlch(51.60, 83.94, 301.05°)
OKLaboklab(60.06% 0.0415 -0.2063)
OKLCHoklch(60.06% 0.21 281.4)
XYZxyz(28.4994, 19.7890, 91.1066)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166F8 #EDF866
analogous
#66A4F8 #7166F8 #BA66F8
triadic
#7166F8 #F87166 #66F871
tetradic
#7166F8 #F866A4 #EDF866 #66F8BA
square
#7166F8 #F866A4 #EDF866 #66F8BA
split-complementary
#7166F8 #F8BA66 #A4F866
monochromatic
#1A0ADA #3B2BF5 #7166F8 #A7A1FB #DEDBFD

Accessibility & contrast

On white

4.24
#7166F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7166F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166F8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166F8#FFFFFF#000000##000000
##7166F81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#3089A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7166f8;
/* rgb */ color: rgb(113, 102, 248);
/* oklch */ color: oklch(60.1% 0.210 281.4);
Tailwind
colors: {
  custom: {
    50: '#a492fb',
    500: '#7166f8',
    950: '#000000',
  },
}
SCSS
$custom: #7166f8;
$custom-light: #a492fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7166f8",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 244.521,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60055,
    "c": 0.21045,
    "h": 281.4
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#7166F8
secondary
#EFF3C7
accent
#E600D4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #7166F8

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

Preview Lab → · Contrast checker → · Palette generator →

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