#7166D5#7166D5

#7166D5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.6% C 0.165 H 284.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7166D5
RGBrgb(113, 102, 213)
HSLhsl(246, 57%, 62%)
HSVhsv(246, 52%, 84%)
CMYKcmyk(46.9%, 52.1%, 0%, 16.5%)
CIE-LABlab(49.27, 32.77, -55.98)
CIE-LCHlch(49.27, 64.87, 300.35°)
OKLaboklab(57.59% 0.0411 -0.1594)
OKLCHoklch(57.59% 0.165 284.5)
XYZxyz(23.5681, 17.8165, 65.1350)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166D5 #CAD566
analogous
#6693D5 #7166D5 #A966D5
triadic
#7166D5 #D57166 #66D571
tetradic
#7166D5 #D56693 #CAD566 #66D5A9
square
#7166D5 #D56693 #CAD566 #66D5A9
split-complementary
#7166D5 #D5A966 #93D566
monochromatic
#342997 #4537C7 #7166D5 #9E96E2 #CAC6EF

Accessibility & contrast

On white

4.60
#7166D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7166D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7166D5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166D5#FFFFFF#000000##FFFFFF
##7166D51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D9
Deuteranopia (green-blind)
#2A72D3
Tritanopia (blue-blind)
#4F7E94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7166d5;
/* rgb */ color: rgb(113, 102, 213);
/* oklch */ color: oklch(57.6% 0.165 284.5);
Tailwind
colors: {
  custom: {
    50: '#a092e2',
    500: '#7166d5',
    950: '#000000',
  },
}
SCSS
$custom: #7166d5;
$custom-light: #a092e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7166d5",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 245.946,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.16466,
    "h": 284.5
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#7166D5
secondary
#DCE0B7
accent
#C421B4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166D5

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

Preview Lab → · Contrast checker → · Palette generator →

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