#7166EC#7166EC

#7166EC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.2% C 0.195 H 282.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7166EC
RGBrgb(113, 102, 236)
HSLhsl(245, 78%, 66%)
HSVhsv(245, 57%, 93%)
CMYKcmyk(52.1%, 56.8%, 0%, 7.5%)
CIE-LABlab(50.77, 39.66, -66.56)
CIE-LCHlch(50.77, 77.48, 300.79°)
OKLaboklab(59.18% 0.0417 -0.1906)
OKLCHoklch(59.18% 0.195 282.4)
XYZxyz(26.6971, 19.0681, 81.6144)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166EC #E1EC66
analogous
#669EEC #7166EC #B466EC
triadic
#7166EC #EC7166 #66EC71
tetradic
#7166EC #EC669E #E1EC66 #66ECB4
square
#7166EC #EC669E #E1EC66 #66ECB4
split-complementary
#7166EC #ECB466 #9EEC66
monochromatic
#2618C0 #3E30E5 #7166EC #A49CF3 #D6D3FA

Accessibility & contrast

On white

4.36
#7166EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7166EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166EC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166EC#FFFFFF#000000##000000
##7166EC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#3D859F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7166ec;
/* rgb */ color: rgb(113, 102, 236);
/* oklch */ color: oklch(59.2% 0.195 282.4);
Tailwind
colors: {
  custom: {
    50: '#a392f3',
    500: '#7166ec',
    950: '#000000',
  },
}
SCSS
$custom: #7166ec;
$custom-light: #a392f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ec",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 244.925,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.19508,
    "h": 282.4
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#7166EC
secondary
#E9EDC1
accent
#DA0BC9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166EC

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

Preview Lab → · Contrast checker → · Palette generator →

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