#7160BF#7160BF

#7160BF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.1% C 0.143 H 289.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7160BF
RGBrgb(113, 96, 191)
HSLhsl(251, 43%, 56%)
HSVhsv(251, 50%, 75%)
CMYKcmyk(40.8%, 49.7%, 0%, 25.1%)
CIE-LABlab(46.50, 29.96, -47.80)
CIE-LCHlch(46.50, 56.41, 302.08°)
OKLaboklab(55.09% 0.0468 -0.1354)
OKLCHoklch(55.09% 0.143 289)
XYZxyz(20.3943, 15.6374, 51.2239)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7160BF #AEBF60
analogous
#607FBF #7160BF #A160BF
triadic
#7160BF #BF7160 #60BF71
tetradic
#7160BF #BF607F #AEBF60 #60BFA1
square
#7160BF #BF607F #AEBF60 #60BFA1
split-complementary
#7160BF #BFA160 #7FBF60
monochromatic
#3C2F75 #5241A1 #7160BF #988CD1 #BFB7E2

Accessibility & contrast

On white

5.09
#7160BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7160BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7160BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7160BF#FFFFFF#000000##FFFFFF
##7160BF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#5B7386
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7160bf;
/* rgb */ color: rgb(113, 96, 191);
/* oklch */ color: oklch(55.1% 0.143 289.0);
Tailwind
colors: {
  custom: {
    50: '#9e8dd3',
    500: '#7160bf',
    950: '#000000',
  },
}
SCSS
$custom: #7160bf;
$custom-light: #9e8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7160bf",
  "rgb": {
    "r": 113,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 250.737,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.14328,
    "h": 289
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#7160BF
secondary
#CAD1AA
accent
#D255BC
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7160BF

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

Preview Lab → · Contrast checker → · Palette generator →

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