#7166DC#7166DC

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

Color values

HEX#7166DC
RGBrgb(113, 102, 220)
HSLhsl(246, 63%, 63%)
HSVhsv(246, 54%, 86%)
CMYKcmyk(48.6%, 53.6%, 0%, 13.7%)
CIE-LABlab(49.71, 34.86, -59.25)
CIE-LCHlch(49.71, 68.74, 300.47°)
OKLaboklab(58.06% 0.0415 -0.169)
OKLCHoklch(58.06% 0.174 283.8)
XYZxyz(24.4758, 18.1795, 69.9156)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166DC #D1DC66
analogous
#6696DC #7166DC #AC66DC
triadic
#7166DC #DC7166 #66DC71
tetradic
#7166DC #DC6696 #D1DC66 #66DCAC
square
#7166DC #DC6696 #D1DC66 #66DCAC
split-complementary
#7166DC #DCAC66 #96DC66
monochromatic
#3125A2 #4334D1 #7166DC #9F98E7 #CDCAF3

Accessibility & contrast

On white

4.53
#7166DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7166DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166DC#FFFFFF#000000##000000
##7166DC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#4A8097
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7166dc;
/* rgb */ color: rgb(113, 102, 220);
/* oklch */ color: oklch(58.1% 0.174 283.8);
Tailwind
colors: {
  custom: {
    50: '#a192e8',
    500: '#7166dc',
    950: '#000000',
  },
}
SCSS
$custom: #7166dc;
$custom-light: #a192e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7166dc",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 245.593,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.17405,
    "h": 283.8
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#7166DC
secondary
#E0E4BA
accent
#CB1BBA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #7166DC

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

Preview Lab → · Contrast checker → · Palette generator →

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