#7166FE#7166FE

#7166FE is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.5% C 0.218 H 280.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7166FE
RGBrgb(113, 102, 254)
HSLhsl(244, 99%, 70%)
HSVhsv(244, 60%, 100%)
CMYKcmyk(55.5%, 59.8%, 0%, 0.4%)
CIE-LABlab(52.03, 45.11, -74.55)
CIE-LCHlch(52.03, 87.13, 301.18°)
OKLaboklab(60.5% 0.0413 -0.2141)
OKLCHoklch(60.5% 0.218 280.9)
XYZxyz(29.4452, 20.1673, 96.0878)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166FE #F3FE66
analogous
#66A7FE #7166FE #BD66FE
triadic
#7166FE #FE7166 #66FE71
tetradic
#7166FE #FE66A7 #F3FE66 #66FEBD
square
#7166FE #FE66A7 #F3FE66 #66FEBD
split-complementary
#7166FE #FEBD66 #A7FE66
monochromatic
#1202E8 #3929FE #7166FE #A9A3FE #E2E0FF

Accessibility & contrast

On white

4.17
#7166FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7166FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166FE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166FE#FFFFFF#000000##000000
##7166FE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#278BA8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7166fe;
/* rgb */ color: rgb(113, 102, 254);
/* oklch */ color: oklch(60.5% 0.218 280.9);
Tailwind
colors: {
  custom: {
    50: '#a592ff',
    500: '#7166fe',
    950: '#000000',
  },
}
SCSS
$custom: #7166fe;
$custom-light: #a592ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7166fe",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 244.342,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.21801,
    "h": 280.9
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7166FE

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

Preview Lab → · Contrast checker → · Palette generator →

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