#7166F7#7166F7

#7166F7 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 60.0% C 0.209 H 281.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7166F7
RGBrgb(113, 102, 247)
HSLhsl(245, 90%, 68%)
HSVhsv(245, 59%, 97%)
CMYKcmyk(54.3%, 58.7%, 0%, 3.1%)
CIE-LABlab(51.53, 42.99, -71.47)
CIE-LCHlch(51.53, 83.40, 301.02°)
OKLaboklab(59.98% 0.0415 -0.205)
OKLCHoklch(59.98% 0.209 281.5)
XYZxyz(28.3447, 19.7271, 90.2918)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166F7 #ECF766
analogous
#66A3F7 #7166F7 #B966F7
triadic
#7166F7 #F77166 #66F771
tetradic
#7166F7 #F766A3 #ECF766 #66F7B9
square
#7166F7 #F766A3 #ECF766 #66F7B9
split-complementary
#7166F7 #F7B966 #A3F766
monochromatic
#1B0BD7 #3B2CF4 #7166F7 #A7A0FA #DDDAFD

Accessibility & contrast

On white

4.25
#7166F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7166F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166F7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166F7#FFFFFF#000000##000000
##7166F71.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#3188A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7166f7;
/* rgb */ color: rgb(113, 102, 247);
/* oklch */ color: oklch(60.0% 0.209 281.5);
Tailwind
colors: {
  custom: {
    50: '#a492fb',
    500: '#7166f7',
    950: '#000000',
  },
}
SCSS
$custom: #7166f7;
$custom-light: #a492fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7166f7",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 244.552,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.20918,
    "h": 281.5
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#7166F7
secondary
#EFF2C7
accent
#E600D4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166F7

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

Preview Lab → · Contrast checker → · Palette generator →

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