#7166FB#7166FB

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

Color values

HEX#7166FB
RGBrgb(113, 102, 251)
HSLhsl(244, 95%, 69%)
HSVhsv(244, 59%, 98%)
CMYKcmyk(55%, 59.4%, 0%, 1.6%)
CIE-LABlab(51.81, 44.20, -73.24)
CIE-LCHlch(51.81, 85.54, 301.11°)
OKLaboklab(60.28% 0.0414 -0.2102)
OKLCHoklch(60.28% 0.214 281.1)
XYZxyz(28.9686, 19.9766, 93.5775)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166FB #F0FB66
analogous
#66A5FB #7166FB #BC66FB
triadic
#7166FB #FB7166 #66FB71
tetradic
#7166FB #FB66A5 #F0FB66 #66FBBC
square
#7166FB #FB66A5 #F0FB66 #66FBBC
split-complementary
#7166FB #FBBC66 #A5FB66
monochromatic
#1606E1 #3A2AF9 #7166FB #A8A2FD #E0DDFE

Accessibility & contrast

On white

4.20
#7166FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7166FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166FB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166FB#FFFFFF#000000##000000
##7166FB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#2B8AA7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7166fb;
/* rgb */ color: rgb(113, 102, 251);
/* oklch */ color: oklch(60.3% 0.214 281.1);
Tailwind
colors: {
  custom: {
    50: '#a592fe',
    500: '#7166fb',
    950: '#000000',
  },
}
SCSS
$custom: #7166fb;
$custom-light: #a592fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7166fb",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 244.43,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.21423,
    "h": 281.1
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7166FB

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

Preview Lab → · Contrast checker → · Palette generator →

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