#7456EA#7456EA

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

Color values

HEX#7456EA
RGBrgb(116, 86, 234)
HSLhsl(252, 78%, 63%)
HSVhsv(252, 63%, 92%)
CMYKcmyk(50.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(47.38, 48.79, -70.93)
CIE-LCHlch(47.38, 86.09, 304.52°)
OKLaboklab(56.71% 0.0616 -0.2034)
OKLCHoklch(56.71% 0.212 286.8)
XYZxyz(25.3772, 16.3079, 79.6365)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7456EA #CCEA56
analogous
#5682EA #7456EA #BE56EA
triadic
#7456EA #EA7456 #56EA74
tetradic
#7456EA #EA5682 #CCEA56 #56EABE
square
#7456EA #EA5682 #CCEA56 #56EABE
split-complementary
#7456EA #EABE56 #82EA56
monochromatic
#3516B0 #4720E3 #7456EA #A18CF1 #CEC3F8

Accessibility & contrast

On white

4.93
#7456EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7456EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7456EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7456EA#FFFFFF#000000##FFFFFF
##7456EA1.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)
#0074EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#487A98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7456ea;
/* rgb */ color: rgb(116, 86, 234);
/* oklch */ color: oklch(56.7% 0.212 286.8);
Tailwind
colors: {
  custom: {
    50: '#a587f2',
    500: '#7456ea',
    950: '#000000',
  },
}
SCSS
$custom: #7456ea;
$custom-light: #a587f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7456ea",
  "rgb": {
    "r": 116,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 252.162,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.21249,
    "h": 286.8
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#7456EA
secondary
#DEE9B3
accent
#DA0BB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7456EA

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

Preview Lab → · Contrast checker → · Palette generator →

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