#7166EB#7166EB

#7166EB is a mid, vivid blue. Relative luminance 0.190; OKLCH L 59.1% C 0.194 H 282.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7166EB
RGBrgb(113, 102, 235)
HSLhsl(245, 77%, 66%)
HSVhsv(245, 57%, 92%)
CMYKcmyk(51.9%, 56.6%, 0%, 7.8%)
CIE-LABlab(50.70, 39.36, -66.11)
CIE-LCHlch(50.70, 76.94, 300.77°)
OKLaboklab(59.11% 0.0417 -0.1892)
OKLCHoklch(59.11% 0.194 282.4)
XYZxyz(26.5522, 19.0101, 80.8514)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166EB #E0EB66
analogous
#669DEB #7166EB #B366EB
triadic
#7166EB #EB7166 #66EB71
tetradic
#7166EB #EB669D #E0EB66 #66EBB3
square
#7166EB #EB669D #E0EB66 #66EBB3
split-complementary
#7166EB #EBB366 #9DEB66
monochromatic
#2619BE #3F30E4 #7166EB #A39CF2 #D5D2F9

Accessibility & contrast

On white

4.37
#7166EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7166EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166EB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166EB#FFFFFF#000000##000000
##7166EB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#3E859F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7166eb;
/* rgb */ color: rgb(113, 102, 235);
/* oklch */ color: oklch(59.1% 0.194 282.4);
Tailwind
colors: {
  custom: {
    50: '#a392f2',
    500: '#7166eb',
    950: '#000000',
  },
}
SCSS
$custom: #7166eb;
$custom-light: #a392f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7166eb",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 244.962,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.19378,
    "h": 282.4
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#7166EB
secondary
#E9ECC1
accent
#D90CC8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166EB

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

Preview Lab → · Contrast checker → · Palette generator →

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