#7166DD#7166DD

#7166DD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.1% C 0.175 H 283.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7166DD
RGBrgb(113, 102, 221)
HSLhsl(246, 64%, 63%)
HSVhsv(246, 54%, 87%)
CMYKcmyk(48.9%, 53.8%, 0%, 13.3%)
CIE-LABlab(49.78, 35.16, -59.71)
CIE-LCHlch(49.78, 69.29, 300.49°)
OKLaboklab(58.13% 0.0415 -0.1704)
OKLCHoklch(58.13% 0.175 283.7)
XYZxyz(24.6087, 18.2327, 70.6152)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166DD #D2DD66
analogous
#6696DD #7166DD #AC66DD
triadic
#7166DD #DD7166 #66DD71
tetradic
#7166DD #DD6696 #D2DD66 #66DDAC
square
#7166DD #DD6696 #D2DD66 #66DDAC
split-complementary
#7166DD #DDAC66 #96DD66
monochromatic
#3024A4 #4334D2 #7166DD #9F98E8 #CECAF3

Accessibility & contrast

On white

4.52
#7166DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7166DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166DD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166DD#FFFFFF#000000##000000
##7166DD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE1
Deuteranopia (green-blind)
#1A73DA
Tritanopia (blue-blind)
#4A8098
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7166dd;
/* rgb */ color: rgb(113, 102, 221);
/* oklch */ color: oklch(58.1% 0.175 283.7);
Tailwind
colors: {
  custom: {
    50: '#a192e8',
    500: '#7166dd',
    950: '#000000',
  },
}
SCSS
$custom: #7166dd;
$custom-light: #a192e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7166dd",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 245.546,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.17539,
    "h": 283.7
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#7166DD
secondary
#E1E5BA
accent
#CB1ABB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #7166DD

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

Preview Lab → · Contrast checker → · Palette generator →

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