#7170DC#7170DC

#7170DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.160 H 280.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7170DC
RGBrgb(113, 112, 220)
HSLhsl(241, 61%, 65%)
HSVhsv(241, 49%, 86%)
CMYKcmyk(48.6%, 49.1%, 0%, 13.7%)
CIE-LABlab(52.14, 28.87, -55.35)
CIE-LCHlch(52.14, 62.43, 297.55°)
OKLaboklab(59.88% 0.0301 -0.1575)
OKLCHoklch(59.88% 0.16 280.8)
XYZxyz(25.5186, 20.2650, 70.2632)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170DC #DBDC70
analogous
#70A5DC #7170DC #A770DC
triadic
#7170DC #DC7170 #70DC71
tetradic
#7170DC #DC70A5 #DBDC70 #70DCA7
square
#7170DC #DC70A5 #DBDC70 #70DCA7
split-complementary
#7170DC #DCA770 #A5DC70
monochromatic
#2A29A8 #403FD0 #7170DC #A2A1E8 #D3D2F4

Accessibility & contrast

On white

4.16
#7170DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7170DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170DC#FFFFFF#000000##000000
##7170DC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#3678DA
Tritanopia (blue-blind)
#49879C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7170dc;
/* rgb */ color: rgb(113, 112, 220);
/* oklch */ color: oklch(59.9% 0.160 280.8);
Tailwind
colors: {
  custom: {
    50: '#a099e7',
    500: '#7170dc',
    950: '#000000',
  },
}
SCSS
$custom: #7170dc;
$custom-light: #a099e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7170dc",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 240.556,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.16039,
    "h": 280.8
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#7170DC
secondary
#E6E6C2
accent
#C81DC7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #7170DC

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

Preview Lab → · Contrast checker → · Palette generator →

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