#7166DE#7166DE

#7166DE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.2% C 0.177 H 283.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7166DE
RGBrgb(113, 102, 222)
HSLhsl(246, 65%, 64%)
HSVhsv(246, 54%, 87%)
CMYKcmyk(49.1%, 54.1%, 0%, 12.9%)
CIE-LABlab(49.84, 35.46, -60.17)
CIE-LCHlch(49.84, 69.84, 300.51°)
OKLaboklab(58.2% 0.0415 -0.1718)
OKLCHoklch(58.2% 0.177 283.6)
XYZxyz(24.7423, 18.2861, 71.3189)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166DE #D3DE66
analogous
#6697DE #7166DE #AD66DE
triadic
#7166DE #DE7166 #66DE71
tetradic
#7166DE #DE6697 #D3DE66 #66DEAD
square
#7166DE #DE6697 #D3DE66 #66DEAD
split-complementary
#7166DE #DEAD66 #97DE66
monochromatic
#3024A6 #4234D3 #7166DE #A098E9 #CECBF4

Accessibility & contrast

On white

4.51
#7166DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7166DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166DE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166DE#FFFFFF#000000##000000
##7166DE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#217AE2
Deuteranopia (green-blind)
#1773DB
Tritanopia (blue-blind)
#498198
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7166de;
/* rgb */ color: rgb(113, 102, 222);
/* oklch */ color: oklch(58.2% 0.177 283.6);
Tailwind
colors: {
  custom: {
    50: '#a192e9',
    500: '#7166de',
    950: '#000000',
  },
}
SCSS
$custom: #7166de;
$custom-light: #a192e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7166de",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 245.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.17672,
    "h": 283.6
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#7166DE
secondary
#E1E5BB
accent
#CC19BC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7166DE

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

Preview Lab → · Contrast checker → · Palette generator →

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