#7166CD#7166CD

#7166CD is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.154 H 285.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7166CD
RGBrgb(113, 102, 205)
HSLhsl(246, 51%, 60%)
HSVhsv(246, 50%, 80%)
CMYKcmyk(44.9%, 50.2%, 0%, 19.6%)
CIE-LABlab(48.79, 30.41, -52.20)
CIE-LCHlch(48.79, 60.41, 300.23°)
OKLaboklab(57.07% 0.0406 -0.1483)
OKLCHoklch(57.07% 0.154 285.3)
XYZxyz(22.5777, 17.4203, 59.9186)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166CD #C2CD66
analogous
#668ECD #7166CD #A566CD
triadic
#7166CD #CD7166 #66CD71
tetradic
#7166CD #CD668E #C2CD66 #66CDA5
square
#7166CD #CD668E #C2CD66 #66CDA5
split-complementary
#7166CD #CDA566 #8ECD66
monochromatic
#372D8B #4A3DB9 #7166CD #9C94DC #C7C2EB

Accessibility & contrast

On white

4.68
#7166CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7166CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166CD#FFFFFF#000000##FFFFFF
##7166CD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#547C90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7166cd;
/* rgb */ color: rgb(113, 102, 205);
/* oklch */ color: oklch(57.1% 0.154 285.3);
Tailwind
colors: {
  custom: {
    50: '#9f92dd',
    500: '#7166cd',
    950: '#000000',
  },
}
SCSS
$custom: #7166cd;
$custom-light: #9f92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7166cd",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 246.408,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57071,
    "c": 0.15376,
    "h": 285.3
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#7166CD
secondary
#D7DBB4
accent
#BE27AE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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