#7156E8#7156E8

#7156E8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.3% C 0.210 H 286.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7156E8
RGBrgb(113, 86, 232)
HSLhsl(251, 76%, 62%)
HSVhsv(251, 63%, 91%)
CMYKcmyk(51.3%, 62.9%, 0%, 9%)
CIE-LABlab(46.96, 47.68, -70.48)
CIE-LCHlch(46.96, 85.09, 304.07°)
OKLaboklab(56.3% 0.0579 -0.2021)
OKLCHoklch(56.3% 0.21 286)
XYZxyz(24.6990, 15.9912, 78.1135)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156E8 #CDE856
analogous
#5684E8 #7156E8 #BA56E8
triadic
#7156E8 #E87156 #56E871
tetradic
#7156E8 #E85684 #CDE856 #56E8BA
square
#7156E8 #E85684 #CDE856 #56E8BA
split-complementary
#7156E8 #E8BA56 #84E856
monochromatic
#3317AC #4420E1 #7156E8 #9E8CEF #CCC2F7

Accessibility & contrast

On white

5.00
#7156E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7156E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156E8#FFFFFF#000000##FFFFFF
##7156E81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#437997
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7156e8;
/* rgb */ color: rgb(113, 86, 232);
/* oklch */ color: oklch(56.3% 0.210 286.0);
Tailwind
colors: {
  custom: {
    50: '#a387f0',
    500: '#7156e8',
    950: '#000000',
  },
}
SCSS
$custom: #7156e8;
$custom-light: #a387f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7156e8",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 251.096,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.563,
    "c": 0.21027,
    "h": 286
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#7156E8
secondary
#DEE8B2
accent
#D80DB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7156E8

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

Preview Lab → · Contrast checker → · Palette generator →

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