#7166CA#7166CA

#7166CA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.9% C 0.150 H 285.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7166CA
RGBrgb(113, 102, 202)
HSLhsl(247, 49%, 60%)
HSVhsv(247, 50%, 79%)
CMYKcmyk(44.1%, 49.5%, 0%, 20.8%)
CIE-LABlab(48.61, 29.53, -50.76)
CIE-LCHlch(48.61, 58.73, 300.19°)
OKLaboklab(56.88% 0.0403 -0.1441)
OKLCHoklch(56.88% 0.15 285.6)
XYZxyz(22.2190, 17.2768, 58.0297)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166CA #BFCA66
analogous
#668DCA #7166CA #A366CA
triadic
#7166CA #CA7166 #66CA71
tetradic
#7166CA #CA668D #BFCA66 #66CAA3
square
#7166CA #CA668D #BFCA66 #66CAA3
split-complementary
#7166CA #CAA366 #8DCA66
monochromatic
#382F87 #4B3EB4 #7166CA #9B93DA #C5C1E9

Accessibility & contrast

On white

4.71
#7166CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7166CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166CA#FFFFFF#000000##FFFFFF
##7166CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#557B8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7166ca;
/* rgb */ color: rgb(113, 102, 202);
/* oklch */ color: oklch(56.9% 0.150 285.6);
Tailwind
colors: {
  custom: {
    50: '#9f92db',
    500: '#7166ca',
    950: '#000000',
  },
}
SCSS
$custom: #7166ca;
$custom-light: #9f92db;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ca",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 246.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.14963,
    "h": 285.6
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#7166CA
secondary
#D5D9B2
accent
#D850C9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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