#7170F4#7170F4

#7170F4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.5% C 0.193 H 279.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7170F4
RGBrgb(113, 112, 244)
HSLhsl(240, 86%, 70%)
HSVhsv(240, 54%, 96%)
CMYKcmyk(53.7%, 54.1%, 0%, 4.3%)
CIE-LABlab(53.63, 36.20, -66.40)
CIE-LCHlch(53.63, 75.62, 298.60°)
OKLaboklab(61.48% 0.0316 -0.19)
OKLCHoklch(61.48% 0.193 279.4)
XYZxyz(28.9282, 21.6289, 88.2208)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170F4 #F3F470
analogous
#70B1F4 #7170F4 #B370F4
triadic
#7170F4 #F47170 #70F471
tetradic
#7170F4 #F470B1 #F3F470 #70F4B3
square
#7170F4 #F470B1 #F3F470 #70F4B3
split-complementary
#7170F4 #F4B370 #B1F470
monochromatic
#1211D9 #3937F0 #7170F4 #A9A9F8 #E2E2FD

Accessibility & contrast

On white

3.94
#7170F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7170F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170F4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170F4#FFFFFF#000000##000000
##7170F41.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A85F9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#338EA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7170f4;
/* rgb */ color: rgb(113, 112, 244);
/* oklch */ color: oklch(61.5% 0.193 279.4);
Tailwind
colors: {
  custom: {
    50: '#a399f9',
    500: '#7170f4',
    950: '#000000',
  },
}
SCSS
$custom: #7170f4;
$custom-light: #a399f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7170f4",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 240.455,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.19263,
    "h": 279.4
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#7170F4
secondary
#F2F3CD
accent
#E203E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7170F4

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

Preview Lab → · Contrast checker → · Palette generator →

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