#7166F2#7166F2

#7166F2 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.6% C 0.203 H 281.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7166F2
RGBrgb(113, 102, 242)
HSLhsl(245, 84%, 67%)
HSVhsv(245, 58%, 95%)
CMYKcmyk(53.3%, 57.9%, 0%, 5.1%)
CIE-LABlab(51.18, 41.47, -69.25)
CIE-LCHlch(51.18, 80.72, 300.92°)
OKLaboklab(59.61% 0.0417 -0.1985)
OKLCHoklch(59.61% 0.203 281.9)
XYZxyz(27.5835, 19.4226, 86.2826)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166F2 #E7F266
analogous
#66A1F2 #7166F2 #B766F2
triadic
#7166F2 #F27166 #66F271
tetradic
#7166F2 #F266A1 #E7F266 #66F2B7
square
#7166F2 #F266A1 #E7F266 #66F2B7
split-complementary
#7166F2 #F2B766 #A1F266
monochromatic
#2011CC #3D2EED #7166F2 #A59EF7 #DAD7FC

Accessibility & contrast

On white

4.30
#7166F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7166F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166F2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166F2#FFFFFF#000000##000000
##7166F21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#3787A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7166f2;
/* rgb */ color: rgb(113, 102, 242);
/* oklch */ color: oklch(59.6% 0.203 281.9);
Tailwind
colors: {
  custom: {
    50: '#a492f7',
    500: '#7166f2',
    950: '#000000',
  },
}
SCSS
$custom: #7166f2;
$custom-light: #a492f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7166f2",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 244.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.20281,
    "h": 281.9
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#7166F2
secondary
#ECF0C4
accent
#E105D0
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166F2

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

Preview Lab → · Contrast checker → · Palette generator →

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