#7156ED#7156ED

#7156ED is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.7% C 0.216 H 285.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7156ED
RGBrgb(113, 86, 237)
HSLhsl(251, 81%, 63%)
HSVhsv(251, 64%, 93%)
CMYKcmyk(52.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(47.34, 49.13, -72.69)
CIE-LCHlch(47.34, 87.73, 304.05°)
OKLaboklab(56.69% 0.0574 -0.2086)
OKLCHoklch(56.69% 0.216 285.4)
XYZxyz(25.4193, 16.2794, 81.9072)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156ED #D2ED56
analogous
#5686ED #7156ED #BC56ED
triadic
#7156ED #ED7156 #56ED71
tetradic
#7156ED #ED5686 #D2ED56 #56EDBC
square
#7156ED #ED5686 #D2ED56 #56EDBC
split-complementary
#7156ED #EDBC56 #86ED56
monochromatic
#3013B5 #431FE7 #7156ED #9F8DF3 #CEC5F9

Accessibility & contrast

On white

4.93
#7156ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7156ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156ED
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156ED#FFFFFF#000000##FFFFFF
##7156ED1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#3E7B9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7156ed;
/* rgb */ color: rgb(113, 86, 237);
/* oklch */ color: oklch(56.7% 0.216 285.4);
Tailwind
colors: {
  custom: {
    50: '#a487f4',
    500: '#7156ed',
    950: '#000000',
  },
}
SCSS
$custom: #7156ed;
$custom-light: #a487f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7156ed",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 250.728,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.21638,
    "h": 285.4
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#7156ED
secondary
#E1EAB4
accent
#DD08B7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7156ED

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

Preview Lab → · Contrast checker → · Palette generator →

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