#7166DB#7166DB

#7166DB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.0% C 0.173 H 283.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7166DB
RGBrgb(113, 102, 219)
HSLhsl(246, 62%, 63%)
HSVhsv(246, 53%, 86%)
CMYKcmyk(48.4%, 53.4%, 0%, 14.1%)
CIE-LABlab(49.65, 34.56, -58.78)
CIE-LCHlch(49.65, 68.19, 300.45°)
OKLaboklab(57.99% 0.0414 -0.1677)
OKLCHoklch(57.99% 0.173 283.9)
XYZxyz(24.3438, 18.1267, 69.2202)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166DB #D0DB66
analogous
#6695DB #7166DB #AB66DB
triadic
#7166DB #DB7166 #66DB71
tetradic
#7166DB #DB6695 #D0DB66 #66DBAB
square
#7166DB #DB6695 #D0DB66 #66DBAB
split-complementary
#7166DB #DBAB66 #95DB66
monochromatic
#3126A1 #4334CF #7166DB #9F98E7 #CDC9F2

Accessibility & contrast

On white

4.54
#7166DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7166DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166DB#FFFFFF#000000##000000
##7166DB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#4B8097
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7166db;
/* rgb */ color: rgb(113, 102, 219);
/* oklch */ color: oklch(58.0% 0.173 283.9);
Tailwind
colors: {
  custom: {
    50: '#a192e7',
    500: '#7166db',
    950: '#000000',
  },
}
SCSS
$custom: #7166db;
$custom-light: #a192e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7166db",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 245.641,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.17272,
    "h": 283.9
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7166DB

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

Preview Lab → · Contrast checker → · Palette generator →

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