#7156DC#7156DC

#7156DC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.195 H 287.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7156DC
RGBrgb(113, 86, 220)
HSLhsl(252, 66%, 60%)
HSVhsv(252, 61%, 86%)
CMYKcmyk(48.6%, 60.9%, 0%, 13.7%)
CIE-LABlab(46.09, 44.20, -65.11)
CIE-LCHlch(46.09, 78.69, 304.17°)
OKLaboklab(55.39% 0.0588 -0.1863)
OKLCHoklch(55.39% 0.195 287.5)
XYZxyz(23.0523, 15.3326, 69.4411)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156DC #C1DC56
analogous
#567EDC #7156DC #B456DC
triadic
#7156DC #DC7156 #56DC71
tetradic
#7156DC #DC567E #C1DC56 #56DCB4
square
#7156DC #DC567E #C1DC56 #56DCB4
split-complementary
#7156DC #DCB456 #7EDC56
monochromatic
#382098 #4A2ACB #7156DC #9C89E6 #C6BBF1

Accessibility & contrast

On white

5.16
#7156DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7156DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156DC#FFFFFF#000000##FFFFFF
##7156DC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#4C7591
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7156dc;
/* rgb */ color: rgb(113, 86, 220);
/* oklch */ color: oklch(55.4% 0.195 287.5);
Tailwind
colors: {
  custom: {
    50: '#a287e8',
    500: '#7156dc',
    950: '#000000',
  },
}
SCSS
$custom: #7156dc;
$custom-light: #a287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7156dc",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 252.09,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.19539,
    "h": 287.5
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#7156DC
secondary
#D6E1AD
accent
#E93FC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7156DC

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

Preview Lab → · Contrast checker → · Palette generator →

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