#7156BF#7156BF

#7156BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.3% C 0.158 H 292.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7156BF
RGBrgb(113, 86, 191)
HSLhsl(255, 45%, 54%)
HSVhsv(255, 55%, 75%)
CMYKcmyk(40.8%, 55%, 0%, 25.1%)
CIE-LABlab(44.13, 35.92, -51.59)
CIE-LCHlch(44.13, 62.86, 304.85°)
OKLaboklab(53.32% 0.0593 -0.1466)
OKLCHoklch(53.32% 0.158 292)
XYZxyz(19.5393, 13.9273, 50.9389)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156BF #A4BF56
analogous
#5670BF #7156BF #A656BF
triadic
#7156BF #BF7156 #56BF71
tetradic
#7156BF #BF5670 #A4BF56 #56BFA6
square
#7156BF #BF5670 #A4BF56 #56BFA6
split-complementary
#7156BF #BFA656 #70BF56
monochromatic
#3C2A70 #543B9D #7156BF #9682D0 #BCAFE1

Accessibility & contrast

On white

5.55
#7156BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7156BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156BF#FFFFFF#000000##FFFFFF
##7156BF1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#2966BD
Tritanopia (blue-blind)
#5C6C82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7156bf;
/* rgb */ color: rgb(113, 86, 191);
/* oklch */ color: oklch(53.3% 0.158 292.0);
Tailwind
colors: {
  custom: {
    50: '#9e86d3',
    500: '#7156bf',
    950: '#000000',
  },
}
SCSS
$custom: #7156bf;
$custom-light: #9e86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7156bf",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 255.429,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.15813,
    "h": 292
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#7156BF
secondary
#C3CFA2
accent
#D553B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7156BF

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

Preview Lab → · Contrast checker → · Palette generator →

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