#7166CE#7166CE

#7166CE is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.1% C 0.155 H 285.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7166CE
RGBrgb(113, 102, 206)
HSLhsl(246, 51%, 60%)
HSVhsv(246, 50%, 81%)
CMYKcmyk(45.1%, 50.5%, 0%, 19.2%)
CIE-LABlab(48.85, 30.71, -52.67)
CIE-LCHlch(48.85, 60.97, 300.24°)
OKLaboklab(57.14% 0.0406 -0.1497)
OKLCHoklch(57.14% 0.155 285.2)
XYZxyz(22.6988, 17.4687, 60.5563)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166CE #C3CE66
analogous
#668FCE #7166CE #A566CE
triadic
#7166CE #CE7166 #66CE71
tetradic
#7166CE #CE668F #C3CE66 #66CEA5
square
#7166CE #CE668F #C3CE66 #66CEA5
split-complementary
#7166CE #CEA566 #8FCE66
monochromatic
#372D8D #493CBB #7166CE #9C94DD #C7C3EC

Accessibility & contrast

On white

4.67
#7166CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7166CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166CE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166CE#FFFFFF#000000##FFFFFF
##7166CE1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3777D2
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#537C90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7166ce;
/* rgb */ color: rgb(113, 102, 206);
/* oklch */ color: oklch(57.1% 0.155 285.2);
Tailwind
colors: {
  custom: {
    50: '#9f92dd',
    500: '#7166ce',
    950: '#000000',
  },
}
SCSS
$custom: #7166ce;
$custom-light: #9f92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ce",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 246.346,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.15514,
    "h": 285.2
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#7166CE
secondary
#D8DCB4
accent
#BF27AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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