#7156CB#7156CB

#7156CB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.174 H 290.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7156CB
RGBrgb(113, 86, 203)
HSLhsl(254, 53%, 57%)
HSVhsv(254, 58%, 80%)
CMYKcmyk(44.3%, 57.6%, 0%, 20.4%)
CIE-LABlab(44.91, 39.32, -57.28)
CIE-LCHlch(44.91, 69.47, 304.47°)
OKLaboklab(54.15% 0.0594 -0.1633)
OKLCHoklch(54.15% 0.174 290)
XYZxyz(20.9143, 14.4774, 58.1808)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156CB #B0CB56
analogous
#5676CB #7156CB #AC56CB
triadic
#7156CB #CB7156 #56CB71
tetradic
#7156CB #CB5676 #B0CB56 #56CBAC
square
#7156CB #CB5676 #B0CB56 #56CBAC
split-complementary
#7156CB #CBAC56 #76CB56
monochromatic
#3C277F #5136AE #7156CB #9885D9 #C0B4E8

Accessibility & contrast

On white

5.39
#7156CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7156CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156CB#FFFFFF#000000##FFFFFF
##7156CB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#0F68C8
Tritanopia (blue-blind)
#567088
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7156cb;
/* rgb */ color: rgb(113, 86, 203);
/* oklch */ color: oklch(54.2% 0.174 290.0);
Tailwind
colors: {
  custom: {
    50: '#a086dc',
    500: '#7156cb',
    950: '#000000',
  },
}
SCSS
$custom: #7156cb;
$custom-light: #a086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7156cb",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 253.846,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.17377,
    "h": 290
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

primary
#7156CB
secondary
#CBD6A6
accent
#DC4BBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7156CB

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

Preview Lab → · Contrast checker → · Palette generator →

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