#7156CD#7156CD

#7156CD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.176 H 289.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7156CD
RGBrgb(113, 86, 205)
HSLhsl(254, 54%, 57%)
HSVhsv(254, 58%, 80%)
CMYKcmyk(44.9%, 58%, 0%, 19.6%)
CIE-LABlab(45.04, 39.89, -58.21)
CIE-LCHlch(45.04, 70.57, 304.42°)
OKLaboklab(54.29% 0.0594 -0.1661)
OKLCHoklch(54.29% 0.176 289.7)
XYZxyz(21.1542, 14.5733, 59.4441)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156CD #B2CD56
analogous
#5677CD #7156CD #AC56CD
triadic
#7156CD #CD7156 #56CD71
tetradic
#7156CD #CD5677 #B2CD56 #56CDAC
square
#7156CD #CD5677 #B2CD56 #56CDAC
split-complementary
#7156CD #CDAC56 #77CD56
monochromatic
#3B2682 #5134B1 #7156CD #9985DB #C0B4E9

Accessibility & contrast

On white

5.36
#7156CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7156CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156CD#FFFFFF#000000##FFFFFF
##7156CD1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0568CA
Tritanopia (blue-blind)
#557189
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7156cd;
/* rgb */ color: rgb(113, 86, 205);
/* oklch */ color: oklch(54.3% 0.176 289.7);
Tailwind
colors: {
  custom: {
    50: '#a086dd',
    500: '#7156cd',
    950: '#000000',
  },
}
SCSS
$custom: #7156cd;
$custom-light: #a086dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7156cd",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 253.613,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.17635,
    "h": 289.7
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#7156CD
secondary
#CDD8A7
accent
#DE4ABC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7156CD

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

Preview Lab → · Contrast checker → · Palette generator →

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