#7452EC#7452EC

#7452EC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.220 H 287.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7452EC
RGBrgb(116, 82, 236)
HSLhsl(253, 80%, 62%)
HSVhsv(253, 65%, 93%)
CMYKcmyk(50.8%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.71, 51.55, -73.13)
CIE-LCHlch(46.71, 89.48, 305.18°)
OKLaboklab(56.28% 0.0652 -0.2098)
OKLCHoklch(56.28% 0.22 287.2)
XYZxyz(25.3556, 15.8025, 81.0548)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452EC #CAEC52
analogous
#527DEC #7452EC #C152EC
triadic
#7452EC #EC7452 #52EC74
tetradic
#7452EC #EC527D #CAEC52 #52ECC1
square
#7452EC #EC527D #CAEC52 #52ECC1
split-complementary
#7452EC #ECC152 #7DEC52
monochromatic
#3613B0 #481BE6 #7452EC #A089F2 #CDC0F8

Accessibility & contrast

On white

5.05
#7452EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7452EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452EC#FFFFFF#000000##FFFFFF
##7452EC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#477898
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7452ec;
/* rgb */ color: rgb(116, 82, 236);
/* oklch */ color: oklch(56.3% 0.220 287.2);
Tailwind
colors: {
  custom: {
    50: '#a685f3',
    500: '#7452ec',
    950: '#000000',
  },
}
SCSS
$custom: #7452ec;
$custom-light: #a685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7452ec",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 253.247,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.21973,
    "h": 287.2
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#7452EC
secondary
#DDE9B1
accent
#DD09AE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7452EC

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

Preview Lab → · Contrast checker → · Palette generator →

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