#7166F1#7166F1

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

Color values

HEX#7166F1
RGBrgb(113, 102, 241)
HSLhsl(245, 83%, 67%)
HSVhsv(245, 58%, 95%)
CMYKcmyk(53.1%, 57.7%, 0%, 5.5%)
CIE-LABlab(51.11, 41.17, -68.81)
CIE-LCHlch(51.11, 80.18, 300.90°)
OKLaboklab(59.54% 0.0417 -0.1972)
OKLCHoklch(59.54% 0.202 281.9)
XYZxyz(27.4337, 19.3627, 85.4938)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166F1 #E6F166
analogous
#66A1F1 #7166F1 #B666F1
triadic
#7166F1 #F17166 #66F171
tetradic
#7166F1 #F166A1 #E6F166 #66F1B6
square
#7166F1 #F166A1 #E6F166 #66F1B6
split-complementary
#7166F1 #F1B666 #A1F166
monochromatic
#2112CA #3D2EEC #7166F1 #A59EF6 #D9D6FB

Accessibility & contrast

On white

4.31
#7166F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7166F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166F1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166F1#FFFFFF#000000##000000
##7166F11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#3887A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7166f1;
/* rgb */ color: rgb(113, 102, 241);
/* oklch */ color: oklch(59.5% 0.202 281.9);
Tailwind
colors: {
  custom: {
    50: '#a392f7',
    500: '#7166f1',
    950: '#000000',
  },
}
SCSS
$custom: #7166f1;
$custom-light: #a392f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7166f1",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 244.748,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.20152,
    "h": 281.9
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#7166F1
secondary
#ECEFC3
accent
#E006CE
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7166F1

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

Preview Lab → · Contrast checker → · Palette generator →

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