#7452DC#7452DC

#7452DC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.0% C 0.200 H 289.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7452DC
RGBrgb(116, 82, 220)
HSLhsl(255, 66%, 59%)
HSVhsv(255, 63%, 86%)
CMYKcmyk(47.3%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.52, 47.03, -66.02)
CIE-LCHlch(45.52, 81.06, 305.46°)
OKLaboklab(55.04% 0.0668 -0.1889)
OKLCHoklch(55.04% 0.2 289.5)
XYZxyz(23.1343, 14.9140, 69.3560)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452DC #BADC52
analogous
#5275DC #7452DC #B952DC
triadic
#7452DC #DC7452 #52DC74
tetradic
#7452DC #DC5275 #BADC52 #52DCB9
square
#7452DC #DC5275 #BADC52 #52DCB9
split-complementary
#7452DC #DCB952 #75DC52
monochromatic
#3C1E95 #5029C8 #7452DC #9D85E6 #C6B8F1

Accessibility & contrast

On white

5.27
#7452DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7452DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452DC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452DC#FFFFFF#000000##FFFFFF
##7452DC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#52738F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7452dc;
/* rgb */ color: rgb(116, 82, 220);
/* oklch */ color: oklch(55.0% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#a484e8',
    500: '#7452dc',
    950: '#000000',
  },
}
SCSS
$custom: #7452dc;
$custom-light: #a484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7452dc",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 254.783,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.20041,
    "h": 289.5
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#7452DC
secondary
#D3E0AA
accent
#E93FBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7452DC

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

Preview Lab → · Contrast checker → · Palette generator →

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