#7166ED#7166ED

#7166ED is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.3% C 0.196 H 282.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7166ED
RGBrgb(113, 102, 237)
HSLhsl(245, 79%, 66%)
HSVhsv(245, 57%, 93%)
CMYKcmyk(52.3%, 57%, 0%, 7.1%)
CIE-LABlab(50.83, 39.96, -67.01)
CIE-LCHlch(50.83, 78.02, 300.81°)
OKLaboklab(59.25% 0.0417 -0.1919)
OKLCHoklch(59.25% 0.196 282.3)
XYZxyz(26.8428, 19.1263, 82.3817)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166ED #E2ED66
analogous
#669FED #7166ED #B566ED
triadic
#7166ED #ED7166 #66ED71
tetradic
#7166ED #ED669F #E2ED66 #66EDB5
square
#7166ED #ED669F #E2ED66 #66EDB5
split-complementary
#7166ED #EDB566 #9FED66
monochromatic
#2517C2 #3E2FE7 #7166ED #A49DF3 #D7D4FA

Accessibility & contrast

On white

4.35
#7166ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7166ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166ED
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166ED#FFFFFF#000000##000000
##7166ED1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#3C85A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7166ed;
/* rgb */ color: rgb(113, 102, 237);
/* oklch */ color: oklch(59.3% 0.196 282.3);
Tailwind
colors: {
  custom: {
    50: '#a392f4',
    500: '#7166ed',
    950: '#000000',
  },
}
SCSS
$custom: #7166ed;
$custom-light: #a392f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7166ed",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 244.889,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59251,
    "c": 0.19638,
    "h": 282.3
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#7166ED
secondary
#EAEDC2
accent
#DB0ACA
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166ED

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

Preview Lab → · Contrast checker → · Palette generator →

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