#7166FA#7166FA

#7166FA is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 60.2% C 0.213 H 281.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7166FA
RGBrgb(113, 102, 250)
HSLhsl(244, 94%, 69%)
HSVhsv(244, 59%, 98%)
CMYKcmyk(54.8%, 59.2%, 0%, 2%)
CIE-LABlab(51.74, 43.89, -72.80)
CIE-LCHlch(51.74, 85.01, 301.09°)
OKLaboklab(60.2% 0.0415 -0.2089)
OKLCHoklch(60.2% 0.213 281.2)
XYZxyz(28.8114, 19.9138, 92.7495)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166FA #EFFA66
analogous
#66A5FA #7166FA #BB66FA
triadic
#7166FA #FA7166 #66FA71
tetradic
#7166FA #FA66A5 #EFFA66 #66FABB
square
#7166FA #FA66A5 #EFFA66 #66FABB
split-complementary
#7166FA #FABB66 #A5FA66
monochromatic
#1707DE #3A2BF8 #7166FA #A8A1FC #DFDDFE

Accessibility & contrast

On white

4.21
#7166FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7166FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7166FA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166FA#FFFFFF#000000##000000
##7166FA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#2D89A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7166fa;
/* rgb */ color: rgb(113, 102, 250);
/* oklch */ color: oklch(60.2% 0.213 281.2);
Tailwind
colors: {
  custom: {
    50: '#a592fd',
    500: '#7166fa',
    950: '#000000',
  },
}
SCSS
$custom: #7166fa;
$custom-light: #a592fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7166fa",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 244.459,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.21297,
    "h": 281.2
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#7166FA
secondary
#F0F4C8
accent
#E600D4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #7166FA

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

Preview Lab → · Contrast checker → · Palette generator →

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