#7170BB#7170BB

#7170BB is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.9% C 0.114 H 282.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7170BB
RGBrgb(113, 112, 187)
HSLhsl(241, 36%, 59%)
HSVhsv(241, 40%, 73%)
CMYKcmyk(39.6%, 40.1%, 0%, 26.7%)
CIE-LABlab(50.32, 19.13, -39.42)
CIE-LCHlch(50.32, 43.82, 295.89°)
OKLaboklab(57.91% 0.0253 -0.1109)
OKLCHoklch(57.91% 0.114 282.9)
XYZxyz(21.5713, 18.6861, 49.4743)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170BB #BABB70
analogous
#7094BB #7170BB #9670BB
triadic
#7170BB #BB7170 #70BB71
tetradic
#7170BB #BB7094 #BABB70 #70BB96
square
#7170BB #BB7094 #BABB70 #70BB96
split-complementary
#7170BB #BB9670 #94BB70
monochromatic
#3A3978 #4E4DA1 #7170BB #9A99CF #C3C3E2

Accessibility & contrast

On white

4.43
#7170BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7170BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170BB#FFFFFF#000000##000000
##7170BB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#5C7F8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7170bb;
/* rgb */ color: rgb(113, 112, 187);
/* oklch */ color: oklch(57.9% 0.114 282.9);
Tailwind
colors: {
  custom: {
    50: '#9d99d0',
    500: '#7170bb',
    950: '#000000',
  },
}
SCSS
$custom: #7170bb;
$custom-light: #9d99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7170bb",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 240.8,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.11374,
    "h": 282.9
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#7170BB
secondary
#D2D2B5
accent
#CC5CCA
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #7170BB

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

Preview Lab → · Contrast checker → · Palette generator →

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