#7166EA#7166EA

#7166EA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 59.0% C 0.192 H 282.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7166EA
RGBrgb(113, 102, 234)
HSLhsl(245, 76%, 66%)
HSVhsv(245, 56%, 92%)
CMYKcmyk(51.7%, 56.4%, 0%, 8.2%)
CIE-LABlab(50.63, 39.06, -65.66)
CIE-LCHlch(50.63, 76.40, 300.75°)
OKLaboklab(59.04% 0.0417 -0.1879)
OKLCHoklch(59.04% 0.192 282.5)
XYZxyz(26.4082, 18.9525, 80.0926)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166EA #DFEA66
analogous
#669DEA #7166EA #B366EA
triadic
#7166EA #EA7166 #66EA71
tetradic
#7166EA #EA669D #DFEA66 #66EAB3
square
#7166EA #EA669D #DFEA66 #66EAB3
split-complementary
#7166EA #EAB366 #9DEA66
monochromatic
#271ABC #3F30E3 #7166EA #A39CF1 #D5D2F9

Accessibility & contrast

On white

4.38
#7166EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7166EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166EA#FFFFFF#000000##000000
##7166EA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#3F849E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7166ea;
/* rgb */ color: rgb(113, 102, 234);
/* oklch */ color: oklch(59.0% 0.192 282.5);
Tailwind
colors: {
  custom: {
    50: '#a292f2',
    500: '#7166ea',
    950: '#000000',
  },
}
SCSS
$custom: #7166ea;
$custom-light: #a292f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ea",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 245,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.19248,
    "h": 282.5
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#7166EA
secondary
#E8ECC0
accent
#D80DC7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166EA

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

Preview Lab → · Contrast checker → · Palette generator →

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