#7166D3#7166D3

#7166D3 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.5% C 0.162 H 284.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7166D3
RGBrgb(113, 102, 211)
HSLhsl(246, 55%, 61%)
HSVhsv(246, 52%, 83%)
CMYKcmyk(46.4%, 51.7%, 0%, 17.3%)
CIE-LABlab(49.15, 32.18, -55.04)
CIE-LCHlch(49.15, 63.76, 300.32°)
OKLaboklab(57.46% 0.041 -0.1567)
OKLCHoklch(57.46% 0.162 284.7)
XYZxyz(23.3158, 17.7155, 63.8063)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166D3 #C8D366
analogous
#6692D3 #7166D3 #A866D3
triadic
#7166D3 #D37166 #66D371
tetradic
#7166D3 #D36692 #C8D366 #66D3A8
square
#7166D3 #D36692 #C8D366 #66D3A8
split-complementary
#7166D3 #D3A866 #92D366
monochromatic
#352B94 #4638C4 #7166D3 #9D96E1 #C9C5EE

Accessibility & contrast

On white

4.62
#7166D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7166D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7166D3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166D3#FFFFFF#000000##FFFFFF
##7166D31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3278D7
Deuteranopia (green-blind)
#2D71D1
Tritanopia (blue-blind)
#507E93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7166d3;
/* rgb */ color: rgb(113, 102, 211);
/* oklch */ color: oklch(57.5% 0.162 284.7);
Tailwind
colors: {
  custom: {
    50: '#a092e1',
    500: '#7166d3',
    950: '#000000',
  },
}
SCSS
$custom: #7166d3;
$custom-light: #a092e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7166d3",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 246.055,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.16194,
    "h": 284.7
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#7166D3
secondary
#DBDFB6
accent
#C323B3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166D3

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

Preview Lab → · Contrast checker → · Palette generator →

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