#7170BC#7170BC

#7170BC is a mid, moderate blue. Relative luminance 0.187; OKLCH L 58.0% C 0.115 H 282.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7170BC
RGBrgb(113, 112, 188)
HSLhsl(241, 36%, 59%)
HSVhsv(241, 40%, 74%)
CMYKcmyk(39.9%, 40.4%, 0%, 26.3%)
CIE-LABlab(50.37, 19.42, -39.91)
CIE-LCHlch(50.37, 44.39, 295.95°)
OKLaboklab(57.96% 0.0255 -0.1123)
OKLCHoklch(57.96% 0.115 282.8)
XYZxyz(21.6787, 18.7291, 50.0400)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170BC #BBBC70
analogous
#7095BC #7170BC #9770BC
triadic
#7170BC #BC7170 #70BC71
tetradic
#7170BC #BC7095 #BBBC70 #70BC97
square
#7170BC #BC7095 #BBBC70 #70BC97
split-complementary
#7170BC #BC9770 #95BC70
monochromatic
#3A3979 #4D4CA3 #7170BC #9A9AD0 #C4C3E3

Accessibility & contrast

On white

4.42
#7170BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7170BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170BC#FFFFFF#000000##000000
##7170BC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABF
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#5B7F8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7170bc;
/* rgb */ color: rgb(113, 112, 188);
/* oklch */ color: oklch(58.0% 0.115 282.8);
Tailwind
colors: {
  custom: {
    50: '#9d99d0',
    500: '#7170bc',
    950: '#000000',
  },
}
SCSS
$custom: #7170bc;
$custom-light: #9d99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7170bc",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 240.789,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.11519,
    "h": 282.8
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#7170BC
secondary
#D2D3B5
accent
#CC5CCB
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #7170BC

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

Preview Lab → · Contrast checker → · Palette generator →

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