#7156E4#7156E4

#7156E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.0% C 0.205 H 286.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7156E4
RGBrgb(113, 86, 228)
HSLhsl(251, 72%, 62%)
HSVhsv(251, 62%, 89%)
CMYKcmyk(50.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(46.67, 46.52, -68.71)
CIE-LCHlch(46.67, 82.97, 304.10°)
OKLaboklab(55.99% 0.0582 -0.1969)
OKLCHoklch(55.99% 0.205 286.5)
XYZxyz(24.1373, 15.7665, 75.1552)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156E4 #C9E456
analogous
#5682E4 #7156E4 #B856E4
triadic
#7156E4 #E47156 #56E471
tetradic
#7156E4 #E45682 #C9E456 #56E4B8
square
#7156E4 #E45682 #C9E456 #56E4B8
split-complementary
#7156E4 #E4B856 #82E456
monochromatic
#351AA5 #4623DA #7156E4 #9D8BEC #CAC0F5

Accessibility & contrast

On white

5.06
#7156E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7156E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156E4#FFFFFF#000000##FFFFFF
##7156E41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#467895
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7156e4;
/* rgb */ color: rgb(113, 86, 228);
/* oklch */ color: oklch(56.0% 0.205 286.5);
Tailwind
colors: {
  custom: {
    50: '#a387ed',
    500: '#7156e4',
    950: '#000000',
  },
}
SCSS
$custom: #7156e4;
$custom-light: #a387ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7156e4",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 251.408,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.20535,
    "h": 286.5
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#7156E4
secondary
#DBE5B0
accent
#D511AF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7156E4

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

Preview Lab → · Contrast checker → · Palette generator →

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