#7166DF#7166DF

#7166DF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.3% C 0.178 H 283.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7166DF
RGBrgb(113, 102, 223)
HSLhsl(245, 65%, 64%)
HSVhsv(245, 54%, 87%)
CMYKcmyk(49.3%, 54.3%, 0%, 12.5%)
CIE-LABlab(49.91, 35.75, -60.63)
CIE-LCHlch(49.91, 70.39, 300.53°)
OKLaboklab(58.27% 0.0416 -0.1731)
OKLCHoklch(58.27% 0.178 283.5)
XYZxyz(24.8767, 18.3399, 72.0269)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166DF #D4DF66
analogous
#6697DF #7166DF #AD66DF
triadic
#7166DF #DF7166 #66DF71
tetradic
#7166DF #DF6697 #D4DF66 #66DFAD
square
#7166DF #DF6697 #D4DF66 #66DFAD
split-complementary
#7166DF #DFAD66 #97DF66
monochromatic
#2F23A8 #4233D4 #7166DF #A099EA #CFCBF4

Accessibility & contrast

On white

4.50
#7166DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7166DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166DF#FFFFFF#000000##000000
##7166DF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7BE3
Deuteranopia (green-blind)
#1473DC
Tritanopia (blue-blind)
#488199
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7166df;
/* rgb */ color: rgb(113, 102, 223);
/* oklch */ color: oklch(58.3% 0.178 283.5);
Tailwind
colors: {
  custom: {
    50: '#a192ea',
    500: '#7166df',
    950: '#000000',
  },
}
SCSS
$custom: #7166df;
$custom-light: #a192ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7166df",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 245.455,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.17804,
    "h": 283.5
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#7166DF
secondary
#E2E6BB
accent
#CD18BD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7166DF

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

Preview Lab → · Contrast checker → · Palette generator →

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