#7456F8#7456F8

#7456F8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.229 H 285.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7456F8
RGBrgb(116, 86, 248)
HSLhsl(251, 92%, 65%)
HSVhsv(251, 65%, 97%)
CMYKcmyk(53.2%, 65.3%, 0%, 2.7%)
CIE-LABlab(48.44, 52.81, -77.04)
CIE-LCHlch(48.44, 93.40, 304.43°)
OKLaboklab(57.81% 0.0601 -0.2213)
OKLCHoklch(57.81% 0.229 285.2)
XYZxyz(27.4684, 17.1444, 90.6505)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7456F8 #DAF856
analogous
#5689F8 #7456F8 #C556F8
triadic
#7456F8 #F87456 #56F874
tetradic
#7456F8 #F85689 #DAF856 #56F8C5
square
#7456F8 #F85689 #DAF856 #56F8C5
split-complementary
#7456F8 #F8C556 #89F856
monochromatic
#2C08CB #441BF6 #7456F8 #A491FA #D5CCFD

Accessibility & contrast

On white

4.74
#7456F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7456F8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7456F8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7456F8#FFFFFF#000000##FFFFFF
##7456F81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FD
Deuteranopia (green-blind)
#006EF5
Tritanopia (blue-blind)
#3B7FA0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7456f8;
/* rgb */ color: rgb(116, 86, 248);
/* oklch */ color: oklch(57.8% 0.229 285.2);
Tailwind
colors: {
  custom: {
    50: '#a787fc',
    500: '#7456f8',
    950: '#000000',
  },
}
SCSS
$custom: #7456f8;
$custom-light: #a787fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7456f8",
  "rgb": {
    "r": 116,
    "g": 86,
    "b": 248
  },
  "hsl": {
    "h": 251.111,
    "s": 92.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.22933,
    "h": 285.2
  },
  "luminance": 0.17146
}

Semantic roles & 50–950 ramp

primary
#7456F8
secondary
#E6F0BA
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7456F8

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

Preview Lab → · Contrast checker → · Palette generator →

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