#7161BC#7161BC

#7161BC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.1% C 0.138 H 289.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7161BC
RGBrgb(113, 97, 188)
HSLhsl(251, 40%, 56%)
HSVhsv(251, 48%, 74%)
CMYKcmyk(39.9%, 48.4%, 0%, 26.3%)
CIE-LABlab(46.57, 28.50, -45.95)
CIE-LCHlch(46.57, 54.07, 301.81°)
OKLaboklab(55.08% 0.0452 -0.13)
OKLCHoklch(55.08% 0.138 289.2)
XYZxyz(20.1593, 15.6903, 49.5336)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161BC #ACBC61
analogous
#617EBC #7161BC #9E61BC
triadic
#7161BC #BC7161 #61BC71
tetradic
#7161BC #BC617E #ACBC61 #61BC9E
square
#7161BC #BC617E #ACBC61 #61BC9E
split-complementary
#7161BC #BC9E61 #7EBC61
monochromatic
#3C3072 #53439D #7161BC #988CCE #BEB7E0

Accessibility & contrast

On white

5.07
#7161BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7161BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161BC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161BC#FFFFFF#000000##FFFFFF
##7161BC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#5D7385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7161bc;
/* rgb */ color: rgb(113, 97, 188);
/* oklch */ color: oklch(55.1% 0.138 289.2);
Tailwind
colors: {
  custom: {
    50: '#9d8ed1',
    500: '#7161bc',
    950: '#000000',
  },
}
SCSS
$custom: #7161bc;
$custom-light: #9d8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#7161bc",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 250.549,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.13763,
    "h": 289.2
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#7161BC
secondary
#C9CFAA
accent
#D057BB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0C14
muted
#7E7D82

Preview Lab

Preview with #7161BC

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

Preview Lab → · Contrast checker → · Palette generator →

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