#7161BB#7161BB

#7161BB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.0% C 0.136 H 289.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7161BB
RGBrgb(113, 97, 187)
HSLhsl(251, 40%, 56%)
HSVhsv(251, 48%, 73%)
CMYKcmyk(39.6%, 48.1%, 0%, 26.7%)
CIE-LABlab(46.51, 28.22, -45.46)
CIE-LCHlch(46.51, 53.51, 301.83°)
OKLaboklab(55.02% 0.0451 -0.1286)
OKLCHoklch(55.02% 0.136 289.3)
XYZxyz(20.0519, 15.6473, 48.9678)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161BB #ABBB61
analogous
#617EBB #7161BB #9E61BB
triadic
#7161BB #BB7161 #61BB71
tetradic
#7161BB #BB617E #ABBB61 #61BB9E
square
#7161BB #BB617E #ABBB61 #61BB9E
split-complementary
#7161BB #BB9E61 #7EBB61
monochromatic
#3C3171 #53439C #7161BB #978CCD #BEB7E0

Accessibility & contrast

On white

5.09
#7161BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7161BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161BB#FFFFFF#000000##FFFFFF
##7161BB1.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)
#3F70BE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#5D7385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7161bb;
/* rgb */ color: rgb(113, 97, 187);
/* oklch */ color: oklch(55.0% 0.136 289.3);
Tailwind
colors: {
  custom: {
    50: '#9d8ed0',
    500: '#7161bb',
    950: '#000000',
  },
}
SCSS
$custom: #7161bb;
$custom-light: #9d8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7161bb",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 250.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.13624,
    "h": 289.3
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#7161BB
secondary
#C8CFA9
accent
#D058BA
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0C14
muted
#7E7D82

Preview Lab

Preview with #7161BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7161BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva