#7160DC#7160DC

#7160DC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.0% C 0.182 H 285.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7160DC
RGBrgb(113, 96, 220)
HSLhsl(248, 64%, 62%)
HSVhsv(248, 56%, 86%)
CMYKcmyk(48.6%, 56.4%, 0%, 13.7%)
CIE-LABlab(48.31, 38.41, -61.50)
CIE-LCHlch(48.31, 72.51, 301.98°)
OKLaboklab(57.02% 0.0481 -0.1757)
OKLCHoklch(57.02% 0.182 285.3)
XYZxyz(23.9074, 17.0426, 69.7261)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7160DC #CBDC60
analogous
#608DDC #7160DC #AF60DC
triadic
#7160DC #DC7160 #60DC71
tetradic
#7160DC #DC608D #CBDC60 #60DCAF
square
#7160DC #DC608D #CBDC60 #60DCAF
split-complementary
#7160DC #DCAF60 #8DDC60
monochromatic
#34239F #442ED1 #7160DC #9E92E7 #CBC4F2

Accessibility & contrast

On white

4.76
#7160DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7160DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7160DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7160DC#FFFFFF#000000##FFFFFF
##7160DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0576E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#4B7C95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7160dc;
/* rgb */ color: rgb(113, 96, 220);
/* oklch */ color: oklch(57.0% 0.182 285.3);
Tailwind
colors: {
  custom: {
    50: '#a18de8',
    500: '#7160dc',
    950: '#000000',
  },
}
SCSS
$custom: #7160dc;
$custom-light: #a18de8;
$custom-dark: #000000;
JSON
{
  "hex": "#7160dc",
  "rgb": {
    "r": 113,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 248.226,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.18217,
    "h": 285.3
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#7160DC
secondary
#DCE3B5
accent
#CC1AB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7160DC

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

Preview Lab → · Contrast checker → · Palette generator →

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