#7166FC#7166FC

#7166FC is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.4% C 0.215 H 281.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7166FC
RGBrgb(113, 102, 252)
HSLhsl(244, 96%, 69%)
HSVhsv(244, 60%, 99%)
CMYKcmyk(55.2%, 59.5%, 0%, 1.2%)
CIE-LABlab(51.88, 44.50, -73.68)
CIE-LCHlch(51.88, 86.07, 301.13°)
OKLaboklab(60.35% 0.0414 -0.2115)
OKLCHoklch(60.35% 0.216 281.1)
XYZxyz(29.1266, 20.0399, 94.4099)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166FC #F1FC66
analogous
#66A6FC #7166FC #BC66FC
triadic
#7166FC #FC7166 #66FC71
tetradic
#7166FC #FC66A6 #F1FC66 #66FCBC
square
#7166FC #FC66A6 #F1FC66 #66FCBC
split-complementary
#7166FC #FCBC66 #A6FC66
monochromatic
#1504E3 #392AFB #7166FC #A9A2FD #E0DEFE

Accessibility & contrast

On white

4.19
#7166FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7166FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166FC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166FC#FFFFFF#000000##000000
##7166FC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0076F9
Tritanopia (blue-blind)
#2A8AA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7166fc;
/* rgb */ color: rgb(113, 102, 252);
/* oklch */ color: oklch(60.4% 0.215 281.1);
Tailwind
colors: {
  custom: {
    50: '#a592fe',
    500: '#7166fc',
    950: '#000000',
  },
}
SCSS
$custom: #7166fc;
$custom-light: #a592fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7166fc",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 244.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.2155,
    "h": 281.1
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

primary
#7166FC
secondary
#F1F5C9
accent
#E600D5
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #7166FC

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

Preview Lab → · Contrast checker → · Palette generator →

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