#7156E5#7156E5

#7156E5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.207 H 286.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7156E5
RGBrgb(113, 86, 229)
HSLhsl(251, 73%, 62%)
HSVhsv(251, 62%, 90%)
CMYKcmyk(50.7%, 62.4%, 0%, 10.2%)
CIE-LABlab(46.74, 46.81, -69.15)
CIE-LCHlch(46.74, 83.50, 304.09°)
OKLaboklab(56.07% 0.0581 -0.1982)
OKLCHoklch(56.07% 0.207 286.3)
XYZxyz(24.2765, 15.8222, 75.8884)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156E5 #CAE556
analogous
#5683E5 #7156E5 #B956E5
triadic
#7156E5 #E57156 #56E571
tetradic
#7156E5 #E55683 #CAE556 #56E5B9
square
#7156E5 #E55683 #CAE556 #56E5B9
split-complementary
#7156E5 #E5B956 #83E556
monochromatic
#341AA7 #4522DC #7156E5 #9E8BED #CAC0F5

Accessibility & contrast

On white

5.04
#7156E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7156E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156E5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156E5#FFFFFF#000000##FFFFFF
##7156E51.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#457896
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7156e5;
/* rgb */ color: rgb(113, 86, 229);
/* oklch */ color: oklch(56.1% 0.207 286.3);
Tailwind
colors: {
  custom: {
    50: '#a387ee',
    500: '#7156e5',
    950: '#000000',
  },
}
SCSS
$custom: #7156e5;
$custom-light: #a387ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7156e5",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 251.329,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.20658,
    "h": 286.3
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#7156E5
secondary
#DCE6B1
accent
#D510B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7156E5

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

Preview Lab → · Contrast checker → · Palette generator →

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