#7166DA#7166DA

#7166DA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.9% C 0.171 H 284.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7166DA
RGBrgb(113, 102, 218)
HSLhsl(246, 61%, 63%)
HSVhsv(246, 53%, 85%)
CMYKcmyk(48.2%, 53.2%, 0%, 14.5%)
CIE-LABlab(49.59, 34.26, -58.32)
CIE-LCHlch(49.59, 67.64, 300.43°)
OKLaboklab(57.93% 0.0414 -0.1663)
OKLCHoklch(57.93% 0.171 284)
XYZxyz(24.2125, 18.0742, 68.5289)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166DA #CFDA66
analogous
#6695DA #7166DA #AB66DA
triadic
#7166DA #DA7166 #66DA71
tetradic
#7166DA #DA6695 #CFDA66 #66DAAB
square
#7166DA #DA6695 #CFDA66 #66DAAB
split-complementary
#7166DA #DAAB66 #95DA66
monochromatic
#32269F #4335CE #7166DA #9F97E6 #CCC9F2

Accessibility & contrast

On white

4.55
#7166DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7166DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166DA#FFFFFF#000000##000000
##7166DA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADE
Deuteranopia (green-blind)
#2172D7
Tritanopia (blue-blind)
#4C8096
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7166da;
/* rgb */ color: rgb(113, 102, 218);
/* oklch */ color: oklch(57.9% 0.171 284.0);
Tailwind
colors: {
  custom: {
    50: '#a092e6',
    500: '#7166da',
    950: '#000000',
  },
}
SCSS
$custom: #7166da;
$custom-light: #a092e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7166da",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 245.69,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.17138,
    "h": 284
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#7166DA
secondary
#DFE3B9
accent
#C91DB8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #7166DA

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

Preview Lab → · Contrast checker → · Palette generator →

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