#7156BB#7156BB

#7156BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.1% C 0.153 H 292.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7156BB
RGBrgb(113, 86, 187)
HSLhsl(256, 43%, 54%)
HSVhsv(256, 54%, 73%)
CMYKcmyk(39.6%, 54%, 0%, 26.7%)
CIE-LABlab(43.88, 34.80, -49.66)
CIE-LCHlch(43.88, 60.64, 305.02°)
OKLaboklab(53.06% 0.0591 -0.1409)
OKLCHoklch(53.06% 0.153 292.8)
XYZxyz(19.1051, 13.7537, 48.6522)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156BB #A0BB56
analogous
#566DBB #7156BB #A356BB
triadic
#7156BB #BB7156 #56BB71
tetradic
#7156BB #BB566D #A0BB56 #56BBA3
square
#7156BB #BB566D #A0BB56 #56BBA3
split-complementary
#7156BB #BBA356 #6DBB56
monochromatic
#3C2B6B #553D97 #7156BB #9682CD #BAADDE

Accessibility & contrast

On white

5.60
#7156BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7156BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156BB#FFFFFF#000000##FFFFFF
##7156BB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#5E6B80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7156bb;
/* rgb */ color: rgb(113, 86, 187);
/* oklch */ color: oklch(53.1% 0.153 292.8);
Tailwind
colors: {
  custom: {
    50: '#9e86d0',
    500: '#7156bb',
    950: '#000000',
  },
}
SCSS
$custom: #7156bb;
$custom-light: #9e86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7156bb",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 256.04,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.15284,
    "h": 292.8
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#7156BB
secondary
#C0CCA1
accent
#D255B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7156BB

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

Preview Lab → · Contrast checker → · Palette generator →

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