#7156DF#7156DF

#7156DF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.199 H 287.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7156DF
RGBrgb(113, 86, 223)
HSLhsl(252, 68%, 61%)
HSVhsv(252, 61%, 87%)
CMYKcmyk(49.3%, 61.4%, 0%, 12.5%)
CIE-LABlab(46.30, 45.07, -66.46)
CIE-LCHlch(46.30, 80.30, 304.14°)
OKLaboklab(55.61% 0.0586 -0.1903)
OKLCHoklch(55.61% 0.199 287.1)
XYZxyz(23.4532, 15.4929, 71.5524)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156DF #C4DF56
analogous
#567FDF #7156DF #B556DF
triadic
#7156DF #DF7156 #56DF71
tetradic
#7156DF #DF567F #C4DF56 #56DFB5
square
#7156DF #DF567F #C4DF56 #56DFB5
split-complementary
#7156DF #DFB556 #7FDF56
monochromatic
#371E9D #4927D0 #7156DF #9C89E9 #C7BDF2

Accessibility & contrast

On white

5.12
#7156DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7156DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156DF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156DF#FFFFFF#000000##FFFFFF
##7156DF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#4A7692
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7156df;
/* rgb */ color: rgb(113, 86, 223);
/* oklch */ color: oklch(55.6% 0.199 287.1);
Tailwind
colors: {
  custom: {
    50: '#a287ea',
    500: '#7156df',
    950: '#000000',
  },
}
SCSS
$custom: #7156df;
$custom-light: #a287ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7156df",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 251.825,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.19914,
    "h": 287.1
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#7156DF
secondary
#D8E2AE
accent
#D015AB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7156DF

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

Preview Lab → · Contrast checker → · Palette generator →

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