#7156BE#7156BE

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

Color values

HEX#7156BE
RGBrgb(113, 86, 190)
HSLhsl(256, 44%, 54%)
HSVhsv(256, 55%, 75%)
CMYKcmyk(40.5%, 54.7%, 0%, 25.5%)
CIE-LABlab(44.07, 35.64, -51.11)
CIE-LCHlch(44.07, 62.31, 304.89°)
OKLaboklab(53.26% 0.0592 -0.1452)
OKLCHoklch(53.26% 0.157 292.2)
XYZxyz(19.4296, 13.8835, 50.3613)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156BE #A3BE56
analogous
#566FBE #7156BE #A556BE
triadic
#7156BE #BE7156 #56BE71
tetradic
#7156BE #BE566F #A3BE56 #56BEA5
square
#7156BE #BE566F #A3BE56 #56BEA5
split-complementary
#7156BE #BEA556 #6FBE56
monochromatic
#3C2B6F #543C9B #7156BE #9682CF #BBAEE0

Accessibility & contrast

On white

5.56
#7156BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7156BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156BE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156BE#FFFFFF#000000##FFFFFF
##7156BE1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#5C6C82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7156be;
/* rgb */ color: rgb(113, 86, 190);
/* oklch */ color: oklch(53.3% 0.157 292.2);
Tailwind
colors: {
  custom: {
    50: '#9e86d2',
    500: '#7156be',
    950: '#000000',
  },
}
SCSS
$custom: #7156be;
$custom-light: #9e86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7156be",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 255.577,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.15681,
    "h": 292.2
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#7156BE
secondary
#C3CEA2
accent
#D454B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7156BE

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

Preview Lab → · Contrast checker → · Palette generator →

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