#7161BF#7161BF

#7161BF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.3% C 0.142 H 288.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7161BF
RGBrgb(113, 97, 191)
HSLhsl(250, 42%, 56%)
HSVhsv(250, 49%, 75%)
CMYKcmyk(40.8%, 49.2%, 0%, 25.1%)
CIE-LABlab(46.74, 29.36, -47.41)
CIE-LCHlch(46.74, 55.76, 301.77°)
OKLaboklab(55.27% 0.0455 -0.1343)
OKLCHoklch(55.27% 0.142 288.7)
XYZxyz(20.4861, 15.8210, 51.2545)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161BF #AFBF61
analogous
#6180BF #7161BF #A061BF
triadic
#7161BF #BF7161 #61BF71
tetradic
#7161BF #BF6180 #AFBF61 #61BFA0
square
#7161BF #BF6180 #AFBF61 #61BFA0
split-complementary
#7161BF #BFA061 #80BF61
monochromatic
#3C3076 #5241A1 #7161BF #988DD1 #BFB8E2

Accessibility & contrast

On white

5.04
#7161BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7161BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161BF#FFFFFF#000000##FFFFFF
##7161BF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#3C6CBD
Tritanopia (blue-blind)
#5B7487
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7161bf;
/* rgb */ color: rgb(113, 97, 191);
/* oklch */ color: oklch(55.3% 0.142 288.7);
Tailwind
colors: {
  custom: {
    50: '#9e8ed3',
    500: '#7161bf',
    950: '#000000',
  },
}
SCSS
$custom: #7161bf;
$custom-light: #9e8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7161bf",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 250.213,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.14179,
    "h": 288.7
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#7161BF
secondary
#CBD1AB
accent
#D256BD
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7161BF

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

Preview Lab → · Contrast checker → · Palette generator →

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