#7456EC#7456EC

#7456EC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.215 H 286.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7456EC
RGBrgb(116, 86, 236)
HSLhsl(252, 80%, 63%)
HSVhsv(252, 64%, 93%)
CMYKcmyk(50.8%, 63.6%, 0%, 7.5%)
CIE-LABlab(47.53, 49.36, -71.81)
CIE-LCHlch(47.53, 87.14, 304.51°)
OKLaboklab(56.87% 0.0614 -0.206)
OKLCHoklch(56.87% 0.215 286.6)
XYZxyz(25.6661, 16.4234, 81.1583)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7456EC #CEEC56
analogous
#5683EC #7456EC #BF56EC
triadic
#7456EC #EC7456 #56EC74
tetradic
#7456EC #EC5683 #CEEC56 #56ECBF
square
#7456EC #EC5683 #CEEC56 #56ECBF
split-complementary
#7456EC #ECBF56 #83EC56
monochromatic
#3414B3 #471FE6 #7456EC #A18DF2 #CEC4F8

Accessibility & contrast

On white

4.90
#7456EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7456EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7456EC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7456EC#FFFFFF#000000##FFFFFF
##7456EC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#477B99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7456ec;
/* rgb */ color: rgb(116, 86, 236);
/* oklch */ color: oklch(56.9% 0.215 286.6);
Tailwind
colors: {
  custom: {
    50: '#a587f3',
    500: '#7456ec',
    950: '#000000',
  },
}
SCSS
$custom: #7456ec;
$custom-light: #a587f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7456ec",
  "rgb": {
    "r": 116,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 252,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.21491,
    "h": 286.6
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#7456EC
secondary
#DFEAB4
accent
#DC09B2
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7456EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7456EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva