#7170F7#7170F7

#7170F7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.197 H 279.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7170F7
RGBrgb(113, 112, 247)
HSLhsl(240, 89%, 70%)
HSVhsv(240, 55%, 97%)
CMYKcmyk(54.3%, 54.7%, 0%, 3.1%)
CIE-LABlab(53.83, 37.12, -67.75)
CIE-LCHlch(53.83, 77.25, 298.72°)
OKLaboklab(61.68% 0.0317 -0.194)
OKLCHoklch(61.68% 0.197 279.3)
XYZxyz(29.3875, 21.8126, 90.6393)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170F7 #F6F770
analogous
#70B3F7 #7170F7 #B470F7
triadic
#7170F7 #F77170 #70F771
tetradic
#7170F7 #F770B3 #F6F770 #70F7B4
square
#7170F7 #F770B3 #F6F770 #70F7B4
split-complementary
#7170F7 #F7B470 #B3F770
monochromatic
#0E0DE0 #3736F4 #7170F7 #ABAAFA #E2E2FD

Accessibility & contrast

On white

3.92
#7170F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7170F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170F7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170F7#FFFFFF#000000##000000
##7170F71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1086FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#2F8FA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7170f7;
/* rgb */ color: rgb(113, 112, 247);
/* oklch */ color: oklch(61.7% 0.197 279.3);
Tailwind
colors: {
  custom: {
    50: '#a499fb',
    500: '#7170f7',
    950: '#000000',
  },
}
SCSS
$custom: #7170f7;
$custom-light: #a499fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7170f7",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 240.444,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.19656,
    "h": 279.3
  },
  "luminance": 0.21814
}

Semantic roles & 50–950 ramp

primary
#7170F7
secondary
#F4F4CF
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7170F7

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

Preview Lab → · Contrast checker → · Palette generator →

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