#7166CF#7166CF

#7166CF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.2% C 0.157 H 285.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7166CF
RGBrgb(113, 102, 207)
HSLhsl(246, 52%, 61%)
HSVhsv(246, 51%, 81%)
CMYKcmyk(45.4%, 50.7%, 0%, 18.8%)
CIE-LABlab(48.91, 31.00, -53.15)
CIE-LCHlch(48.91, 61.53, 300.25°)
OKLaboklab(57.2% 0.0407 -0.1511)
OKLCHoklch(57.2% 0.157 285.1)
XYZxyz(22.8206, 17.5175, 61.1982)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166CF #C4CF66
analogous
#668FCF #7166CF #A666CF
triadic
#7166CF #CF7166 #66CF71
tetradic
#7166CF #CF668F #C4CF66 #66CFA6
square
#7166CF #CF668F #C4CF66 #66CFA6
split-complementary
#7166CF #CFA666 #8FCF66
monochromatic
#372D8E #493BBD #7166CF #9C95DE #C7C3EC

Accessibility & contrast

On white

4.66
#7166CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7166CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7166CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166CF#FFFFFF#000000##FFFFFF
##7166CF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#537C91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7166cf;
/* rgb */ color: rgb(113, 102, 207);
/* oklch */ color: oklch(57.2% 0.157 285.1);
Tailwind
colors: {
  custom: {
    50: '#9f92de',
    500: '#7166cf',
    950: '#000000',
  },
}
SCSS
$custom: #7166cf;
$custom-light: #9f92de;
$custom-dark: #000000;
JSON
{
  "hex": "#7166cf",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 246.286,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.1565,
    "h": 285.1
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7166CF

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

Preview Lab → · Contrast checker → · Palette generator →

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