#7166E9#7166E9

#7166E9 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 59.0% C 0.191 H 282.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7166E9
RGBrgb(113, 102, 233)
HSLhsl(245, 75%, 66%)
HSVhsv(245, 56%, 91%)
CMYKcmyk(51.5%, 56.2%, 0%, 8.6%)
CIE-LABlab(50.56, 38.76, -65.21)
CIE-LCHlch(50.56, 75.85, 300.73°)
OKLaboklab(58.97% 0.0417 -0.1866)
OKLCHoklch(58.97% 0.191 282.6)
XYZxyz(26.2649, 18.8952, 79.3382)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166E9 #DEE966
analogous
#669CE9 #7166E9 #B266E9
triadic
#7166E9 #E97166 #66E971
tetradic
#7166E9 #E9669C #DEE966 #66E9B2
square
#7166E9 #E9669C #DEE966 #66E9B2
split-complementary
#7166E9 #E9B266 #9CE966
monochromatic
#281BBA #3F30E1 #7166E9 #A39CF1 #D4D1F8

Accessibility & contrast

On white

4.39
#7166E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7166E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166E9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166E9#FFFFFF#000000##000000
##7166E91.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#40849E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7166e9;
/* rgb */ color: rgb(113, 102, 233);
/* oklch */ color: oklch(59.0% 0.191 282.6);
Tailwind
colors: {
  custom: {
    50: '#a292f1',
    500: '#7166e9',
    950: '#000000',
  },
}
SCSS
$custom: #7166e9;
$custom-light: #a292f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7166e9",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 245.038,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.19118,
    "h": 282.6
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#7166E9
secondary
#E8EBC0
accent
#D70EC6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166E9

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

Preview Lab → · Contrast checker → · Palette generator →

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