#7456E8#7456E8

#7456E8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.6% C 0.210 H 287.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7456E8
RGBrgb(116, 86, 232)
HSLhsl(252, 76%, 62%)
HSVhsv(252, 63%, 91%)
CMYKcmyk(50%, 62.9%, 0%, 9%)
CIE-LABlab(47.23, 48.22, -70.04)
CIE-LCHlch(47.23, 85.03, 304.54°)
OKLaboklab(56.56% 0.0618 -0.2008)
OKLCHoklch(56.56% 0.21 287.1)
XYZxyz(25.0915, 16.1936, 78.1319)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7456E8 #CAE856
analogous
#5681E8 #7456E8 #BD56E8
triadic
#7456E8 #E87456 #56E874
tetradic
#7456E8 #E85681 #CAE856 #56E8BD
square
#7456E8 #E85681 #CAE856 #56E8BD
split-complementary
#7456E8 #E8BD56 #81E856
monochromatic
#3617AC #4820E1 #7456E8 #A08CEF #CDC2F7

Accessibility & contrast

On white

4.95
#7456E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7456E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7456E8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7456E8#FFFFFF#000000##FFFFFF
##7456E81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#4A7997
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7456e8;
/* rgb */ color: rgb(116, 86, 232);
/* oklch */ color: oklch(56.6% 0.210 287.1);
Tailwind
colors: {
  custom: {
    50: '#a587f0',
    500: '#7456e8',
    950: '#000000',
  },
}
SCSS
$custom: #7456e8;
$custom-light: #a587f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7456e8",
  "rgb": {
    "r": 116,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 252.329,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.21005,
    "h": 287.1
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#7456E8
secondary
#DDE8B2
accent
#D80DAF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7456E8

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

Preview Lab → · Contrast checker → · Palette generator →

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