#7166F4#7166F4

#7166F4 is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.8% C 0.205 H 281.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7166F4
RGBrgb(113, 102, 244)
HSLhsl(245, 87%, 68%)
HSVhsv(245, 58%, 96%)
CMYKcmyk(53.7%, 58.2%, 0%, 4.3%)
CIE-LABlab(51.32, 42.08, -70.14)
CIE-LCHlch(51.32, 81.80, 300.96°)
OKLaboklab(59.76% 0.0416 -0.2011)
OKLCHoklch(59.76% 0.205 281.7)
XYZxyz(27.8855, 19.5434, 87.8733)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166F4 #E9F466
analogous
#66A2F4 #7166F4 #B866F4
triadic
#7166F4 #F47166 #66F471
tetradic
#7166F4 #F466A2 #E9F466 #66F4B8
square
#7166F4 #F466A2 #E9F466 #66F4B8
split-complementary
#7166F4 #F4B866 #A2F466
monochromatic
#1E0FD1 #3C2DF0 #7166F4 #A69FF8 #DBD8FC

Accessibility & contrast

On white

4.28
#7166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7166F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166F4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166F4#FFFFFF#000000##000000
##7166F41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#3588A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7166f4;
/* rgb */ color: rgb(113, 102, 244);
/* oklch */ color: oklch(59.8% 0.205 281.7);
Tailwind
colors: {
  custom: {
    50: '#a492f9',
    500: '#7166f4',
    950: '#000000',
  },
}
SCSS
$custom: #7166f4;
$custom-light: #a492f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7166f4",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 244.648,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.20536,
    "h": 281.7
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#7166F4
secondary
#EDF1C5
accent
#E302D2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166F4

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

Preview Lab → · Contrast checker → · Palette generator →

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