#7456EB#7456EB

#7456EB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.8% C 0.214 H 286.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7456EB
RGBrgb(116, 86, 235)
HSLhsl(252, 79%, 63%)
HSVhsv(252, 63%, 92%)
CMYKcmyk(50.6%, 63.4%, 0%, 7.8%)
CIE-LABlab(47.45, 49.08, -71.37)
CIE-LCHlch(47.45, 86.62, 304.51°)
OKLaboklab(56.79% 0.0615 -0.2047)
OKLCHoklch(56.79% 0.214 286.7)
XYZxyz(25.5212, 16.3655, 80.3953)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7456EB #CDEB56
analogous
#5682EB #7456EB #BF56EB
triadic
#7456EB #EB7456 #56EB74
tetradic
#7456EB #EB5682 #CDEB56 #56EBBF
square
#7456EB #EB5682 #CDEB56 #56EBBF
split-complementary
#7456EB #EBBF56 #82EB56
monochromatic
#3515B2 #471FE5 #7456EB #A18DF1 #CEC3F8

Accessibility & contrast

On white

4.91
#7456EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7456EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7456EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7456EB#FFFFFF#000000##FFFFFF
##7456EB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#477A99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7456eb;
/* rgb */ color: rgb(116, 86, 235);
/* oklch */ color: oklch(56.8% 0.214 286.7);
Tailwind
colors: {
  custom: {
    50: '#a587f2',
    500: '#7456eb',
    950: '#000000',
  },
}
SCSS
$custom: #7456eb;
$custom-light: #a587f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7456eb",
  "rgb": {
    "r": 116,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 252.081,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.21371,
    "h": 286.7
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#7456EB
secondary
#DEE9B4
accent
#DB0AB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7456EB

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

Preview Lab → · Contrast checker → · Palette generator →

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