#7166EE#7166EE

#7166EE is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.3% C 0.198 H 282.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7166EE
RGBrgb(113, 102, 238)
HSLhsl(245, 80%, 67%)
HSVhsv(245, 57%, 93%)
CMYKcmyk(52.5%, 57.1%, 0%, 6.7%)
CIE-LABlab(50.90, 40.27, -67.46)
CIE-LCHlch(50.90, 78.56, 300.83°)
OKLaboklab(59.32% 0.0417 -0.1932)
OKLCHoklch(59.32% 0.198 282.2)
XYZxyz(26.9893, 19.1849, 83.1532)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166EE #E3EE66
analogous
#669FEE #7166EE #B566EE
triadic
#7166EE #EE7166 #66EE71
tetradic
#7166EE #EE669F #E3EE66 #66EEB5
square
#7166EE #EE669F #E3EE66 #66EEB5
split-complementary
#7166EE #EEB566 #9FEE66
monochromatic
#2416C4 #3E2FE8 #7166EE #A49DF4 #D7D4FA

Accessibility & contrast

On white

4.34
#7166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166EE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166EE#FFFFFF#000000##000000
##7166EE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#3B86A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7166ee;
/* rgb */ color: rgb(113, 102, 238);
/* oklch */ color: oklch(59.3% 0.198 282.2);
Tailwind
colors: {
  custom: {
    50: '#a392f4',
    500: '#7166ee',
    950: '#000000',
  },
}
SCSS
$custom: #7166ee;
$custom-light: #a392f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ee",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 244.853,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.19766,
    "h": 282.2
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#7166EE
secondary
#EAEEC2
accent
#DC09CB
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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