#7160CD#7160CD

#7160CD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.162 H 287.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7160CD
RGBrgb(113, 96, 205)
HSLhsl(249, 52%, 59%)
HSVhsv(249, 53%, 80%)
CMYKcmyk(44.9%, 53.2%, 0%, 19.6%)
CIE-LABlab(47.34, 34.00, -54.51)
CIE-LCHlch(47.34, 64.24, 301.96°)
OKLaboklab(55.99% 0.0477 -0.1551)
OKLCHoklch(55.99% 0.162 287.1)
XYZxyz(22.0092, 16.2833, 59.7291)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7160CD #BCCD60
analogous
#6086CD #7160CD #A860CD
triadic
#7160CD #CD7160 #60CD71
tetradic
#7160CD #CD6086 #BCCD60 #60CDA8
square
#7160CD #CD6086 #BCCD60 #60CDA8
split-complementary
#7160CD #CDA860 #86CD60
monochromatic
#392B88 #4D39B6 #7160CD #9B8FDC #C4BDEA

Accessibility & contrast

On white

4.93
#7160CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7160CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7160CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7160CD#FFFFFF#000000##FFFFFF
##7160CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#296DCB
Tritanopia (blue-blind)
#54778D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7160cd;
/* rgb */ color: rgb(113, 96, 205);
/* oklch */ color: oklch(56.0% 0.162 287.1);
Tailwind
colors: {
  custom: {
    50: '#9f8ddd',
    500: '#7160cd',
    950: '#000000',
  },
}
SCSS
$custom: #7160cd;
$custom-light: #9f8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7160cd",
  "rgb": {
    "r": 113,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 249.358,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.16231,
    "h": 287.1
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#7160CD
secondary
#D3DAAF
accent
#DC4CC5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7160CD

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

Preview Lab → · Contrast checker → · Palette generator →

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