#7170FC#7170FC

#7170FC is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.0% C 0.203 H 279.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7170FC
RGBrgb(113, 112, 252)
HSLhsl(240, 96%, 71%)
HSVhsv(240, 56%, 99%)
CMYKcmyk(55.2%, 55.6%, 0%, 1.2%)
CIE-LABlab(54.16, 38.66, -69.98)
CIE-LCHlch(54.16, 79.95, 298.92°)
OKLaboklab(62.04% 0.0318 -0.2006)
OKLCHoklch(62.04% 0.203 279)
XYZxyz(30.1694, 22.1253, 94.7574)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170FC #FBFC70
analogous
#70B5FC #7170FC #B770FC
triadic
#7170FC #FC7170 #70FC71
tetradic
#7170FC #FC70B5 #FBFC70 #70FCB7
square
#7170FC #FC70B5 #FBFC70 #70FCB7
split-complementary
#7170FC #FCB770 #B5FC70
monochromatic
#0705ED #3534FB #7170FC #ADACFD #E1E1FE

Accessibility & contrast

On white

3.87
#7170FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7170FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170FC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170FC#FFFFFF#000000##000000
##7170FC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#2891AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7170fc;
/* rgb */ color: rgb(113, 112, 252);
/* oklch */ color: oklch(62.0% 0.203 279.0);
Tailwind
colors: {
  custom: {
    50: '#a499fe',
    500: '#7170fc',
    950: '#000000',
  },
}
SCSS
$custom: #7170fc;
$custom-light: #a499fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7170fc",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 240.429,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.20306,
    "h": 279
  },
  "luminance": 0.22127
}

Semantic roles & 50–950 ramp

primary
#7170FC
secondary
#F6F6D2
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7170FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7170FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva