#7166D2#7166D2

#7166D2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.4% C 0.161 H 284.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7166D2
RGBrgb(113, 102, 210)
HSLhsl(246, 55%, 61%)
HSVhsv(246, 51%, 82%)
CMYKcmyk(46.2%, 51.4%, 0%, 17.6%)
CIE-LABlab(49.09, 31.89, -54.57)
CIE-LCHlch(49.09, 63.20, 300.30°)
OKLaboklab(57.4% 0.0409 -0.1553)
OKLCHoklch(57.4% 0.161 284.8)
XYZxyz(23.1909, 17.6656, 63.1481)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166D2 #C7D266
analogous
#6691D2 #7166D2 #A766D2
triadic
#7166D2 #D27166 #66D271
tetradic
#7166D2 #D26691 #C7D266 #66D2A7
square
#7166D2 #D26691 #C7D266 #66D2A7
split-complementary
#7166D2 #D2A766 #91D266
monochromatic
#362B93 #4739C2 #7166D2 #9D95E0 #C9C5EE

Accessibility & contrast

On white

4.63
#7166D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7166D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7166D2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166D2#FFFFFF#000000##FFFFFF
##7166D21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#2F71D0
Tritanopia (blue-blind)
#517D92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7166d2;
/* rgb */ color: rgb(113, 102, 210);
/* oklch */ color: oklch(57.4% 0.161 284.8);
Tailwind
colors: {
  custom: {
    50: '#a092e0',
    500: '#7166d2',
    950: '#000000',
  },
}
SCSS
$custom: #7166d2;
$custom-light: #a092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7166d2",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 246.111,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.16059,
    "h": 284.8
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#7166D2
secondary
#DADEB6
accent
#C223B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166D2

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

Preview Lab → · Contrast checker → · Palette generator →

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