#7170FB#7170FB

#7170FB is a mid, highly saturated blue. Relative luminance 0.221; OKLCH L 62.0% C 0.202 H 279.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7170FB
RGBrgb(113, 112, 251)
HSLhsl(240, 95%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(55%, 55.4%, 0%, 1.6%)
CIE-LABlab(54.09, 38.35, -69.54)
CIE-LCHlch(54.09, 79.41, 298.88°)
OKLaboklab(61.97% 0.0318 -0.1992)
OKLCHoklch(61.97% 0.202 279.1)
XYZxyz(30.0113, 22.0621, 93.9251)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170FB #FAFB70
analogous
#70B4FB #7170FB #B670FB
triadic
#7170FB #FB7170 #70FB71
tetradic
#7170FB #FB70B4 #FAFB70 #70FBB6
square
#7170FB #FB70B4 #FAFB70 #70FBB6
split-complementary
#7170FB #FBB670 #B4FB70
monochromatic
#0807EA #3634F9 #7170FB #ACACFD #E1E1FE

Accessibility & contrast

On white

3.88
#7170FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7170FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170FB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170FB#FFFFFF#000000##000000
##7170FB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7170fb;
/* rgb */ color: rgb(113, 112, 251);
/* oklch */ color: oklch(62.0% 0.202 279.1);
Tailwind
colors: {
  custom: {
    50: '#a499fd',
    500: '#7170fb',
    950: '#000000',
  },
}
SCSS
$custom: #7170fb;
$custom-light: #a499fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7170fb",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 240.432,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.20177,
    "h": 279.1
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7170FB

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

Preview Lab → · Contrast checker → · Palette generator →

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