#7156EE#7156EE

#7156EE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.218 H 285.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7156EE
RGBrgb(113, 86, 238)
HSLhsl(251, 82%, 64%)
HSVhsv(251, 64%, 93%)
CMYKcmyk(52.5%, 63.9%, 0%, 6.7%)
CIE-LABlab(47.41, 49.42, -73.13)
CIE-LCHlch(47.41, 88.26, 304.05°)
OKLaboklab(56.77% 0.0573 -0.2099)
OKLCHoklch(56.77% 0.218 285.3)
XYZxyz(25.5658, 16.3380, 82.6788)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156EE #D3EE56
analogous
#5687EE #7156EE #BD56EE
triadic
#7156EE #EE7156 #56EE71
tetradic
#7156EE #EE5687 #D3EE56 #56EEBD
square
#7156EE #EE5687 #D3EE56 #56EEBD
split-complementary
#7156EE #EEBD56 #87EE56
monochromatic
#3012B7 #421EE8 #7156EE #A08EF4 #CEC5F9

Accessibility & contrast

On white

4.92
#7156EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7156EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156EE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156EE#FFFFFF#000000##FFFFFF
##7156EE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#3D7C9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7156ee;
/* rgb */ color: rgb(113, 86, 238);
/* oklch */ color: oklch(56.8% 0.218 285.3);
Tailwind
colors: {
  custom: {
    50: '#a487f5',
    500: '#7156ee',
    950: '#000000',
  },
}
SCSS
$custom: #7156ee;
$custom-light: #a487f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7156ee",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 250.658,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.2176,
    "h": 285.3
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#7156EE
secondary
#E1EBB5
accent
#DE07B8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7156EE

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

Preview Lab → · Contrast checker → · Palette generator →

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