#7156E6#7156E6

#7156E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.1% C 0.208 H 286.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7156E6
RGBrgb(113, 86, 230)
HSLhsl(251, 74%, 62%)
HSVhsv(251, 63%, 90%)
CMYKcmyk(50.9%, 62.6%, 0%, 9.8%)
CIE-LABlab(46.81, 47.10, -69.60)
CIE-LCHlch(46.81, 84.03, 304.09°)
OKLaboklab(56.15% 0.058 -0.1995)
OKLCHoklch(56.15% 0.208 286.2)
XYZxyz(24.4165, 15.8782, 76.6258)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156E6 #CBE656
analogous
#5683E6 #7156E6 #B956E6
triadic
#7156E6 #E67156 #56E671
tetradic
#7156E6 #E65683 #CBE656 #56E6B9
square
#7156E6 #E65683 #CBE656 #56E6B9
split-complementary
#7156E6 #E6B956 #83E656
monochromatic
#3419A9 #4421DE #7156E6 #9E8BEE #CBC1F6

Accessibility & contrast

On white

5.03
#7156E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7156E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156E6#FFFFFF#000000##FFFFFF
##7156E61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#457996
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7156e6;
/* rgb */ color: rgb(113, 86, 230);
/* oklch */ color: oklch(56.1% 0.208 286.2);
Tailwind
colors: {
  custom: {
    50: '#a387ef',
    500: '#7156e6',
    950: '#000000',
  },
}
SCSS
$custom: #7156e6;
$custom-light: #a387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7156e6",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 251.25,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.20781,
    "h": 286.2
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#7156E6
secondary
#DCE6B1
accent
#D60FB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7156E6

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

Preview Lab → · Contrast checker → · Palette generator →

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