#7166EF#7166EF

#7166EF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.4% C 0.199 H 282.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7166EF
RGBrgb(113, 102, 239)
HSLhsl(245, 81%, 67%)
HSVhsv(245, 57%, 94%)
CMYKcmyk(52.7%, 57.3%, 0%, 6.3%)
CIE-LABlab(50.97, 40.57, -67.91)
CIE-LCHlch(50.97, 79.10, 300.85°)
OKLaboklab(59.4% 0.0417 -0.1945)
OKLCHoklch(59.4% 0.199 282.1)
XYZxyz(27.1366, 19.2439, 83.9291)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166EF #E4EF66
analogous
#669FEF #7166EF #B666EF
triadic
#7166EF #EF7166 #66EF71
tetradic
#7166EF #EF669F #E4EF66 #66EFB6
square
#7166EF #EF669F #E4EF66 #66EFB6
split-complementary
#7166EF #EFB666 #9FEF66
monochromatic
#2315C6 #3E2FE9 #7166EF #A49DF5 #D8D5FB

Accessibility & contrast

On white

4.33
#7166EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7166EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166EF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166EF#FFFFFF#000000##000000
##7166EF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#3A86A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7166ef;
/* rgb */ color: rgb(113, 102, 239);
/* oklch */ color: oklch(59.4% 0.199 282.1);
Tailwind
colors: {
  custom: {
    50: '#a392f5',
    500: '#7166ef',
    950: '#000000',
  },
}
SCSS
$custom: #7166ef;
$custom-light: #a392f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ef",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 244.818,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.19895,
    "h": 282.1
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#7166EF
secondary
#EBEEC2
accent
#DD08CC
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166EF

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

Preview Lab → · Contrast checker → · Palette generator →

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