#7170CA#7170CA

#7170CA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.135 H 281.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7170CA
RGBrgb(113, 112, 202)
HSLhsl(241, 46%, 62%)
HSVhsv(241, 45%, 79%)
CMYKcmyk(44.1%, 44.6%, 0%, 20.8%)
CIE-LABlab(51.11, 23.49, -46.77)
CIE-LCHlch(51.11, 52.34, 296.67°)
OKLaboklab(58.77% 0.0279 -0.1324)
OKLCHoklch(58.77% 0.135 281.9)
XYZxyz(23.2617, 19.3623, 58.3773)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170CA #C9CA70
analogous
#709CCA #7170CA #9E70CA
triadic
#7170CA #CA7170 #70CA71
tetradic
#7170CA #CA709C #C9CA70 #70CA9E
square
#7170CA #CA709C #C9CA70 #70CA9E
split-complementary
#7170CA #CA9E70 #9CCA70
monochromatic
#35348C #4644B8 #7170CA #9D9DDB #CAC9EB

Accessibility & contrast

On white

4.31
#7170CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7170CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170CA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170CA#FFFFFF#000000##000000
##7170CA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#548293
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7170ca;
/* rgb */ color: rgb(113, 112, 202);
/* oklch */ color: oklch(58.8% 0.135 281.9);
Tailwind
colors: {
  custom: {
    50: '#9e99da',
    500: '#7170ca',
    950: '#000000',
  },
}
SCSS
$custom: #7170ca;
$custom-light: #9e99da;
$custom-dark: #000000;
JSON
{
  "hex": "#7170ca",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 240.667,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.13528,
    "h": 281.9
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#7170CA
secondary
#DBDCBA
accent
#B92CB8
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7170CA

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

Preview Lab → · Contrast checker → · Palette generator →

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