#7166F0#7166F0

#7166F0 is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.5% C 0.200 H 282.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7166F0
RGBrgb(113, 102, 240)
HSLhsl(245, 82%, 67%)
HSVhsv(245, 58%, 94%)
CMYKcmyk(52.9%, 57.5%, 0%, 5.9%)
CIE-LABlab(51.04, 40.87, -68.36)
CIE-LCHlch(51.04, 79.64, 300.87°)
OKLaboklab(59.47% 0.0417 -0.1958)
OKLCHoklch(59.47% 0.2 282)
XYZxyz(27.2848, 19.3031, 84.7093)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166F0 #E5F066
analogous
#66A0F0 #7166F0 #B666F0
triadic
#7166F0 #F07166 #66F071
tetradic
#7166F0 #F066A0 #E5F066 #66F0B6
square
#7166F0 #F066A0 #E5F066 #66F0B6
split-complementary
#7166F0 #F0B666 #A0F066
monochromatic
#2214C8 #3D2EEB #7166F0 #A59EF5 #D8D5FB

Accessibility & contrast

On white

4.32
#7166F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7166F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166F0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166F0#FFFFFF#000000##000000
##7166F01.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#3986A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7166f0;
/* rgb */ color: rgb(113, 102, 240);
/* oklch */ color: oklch(59.5% 0.200 282.0);
Tailwind
colors: {
  custom: {
    50: '#a392f6',
    500: '#7166f0',
    950: '#000000',
  },
}
SCSS
$custom: #7166f0;
$custom-light: #a392f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7166f0",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 244.783,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.20024,
    "h": 282
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#7166F0
secondary
#EBEFC3
accent
#DF07CD
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166F0

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

Preview Lab → · Contrast checker → · Palette generator →

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