#7452CE#7452CE

#7452CE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.183 H 291.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7452CE
RGBrgb(116, 82, 206)
HSLhsl(256, 56%, 56%)
HSVhsv(256, 60%, 81%)
CMYKcmyk(43.7%, 60.2%, 0%, 19.2%)
CIE-LABlab(44.52, 43.10, -59.62)
CIE-LCHlch(44.52, 73.57, 305.87°)
OKLaboklab(54% 0.0678 -0.1701)
OKLCHoklch(54% 0.183 291.7)
XYZxyz(21.3573, 14.2031, 59.9968)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452CE #ACCE52
analogous
#526ECE #7452CE #B252CE
triadic
#7452CE #CE7452 #52CE74
tetradic
#7452CE #CE526E #ACCE52 #52CEB2
square
#7452CE #CE526E #ACCE52 #52CEB2
split-complementary
#7452CE #CEB252 #6ECE52
monochromatic
#3E2581 #5532B1 #7452CE #9A82DC #C1B1E9

Accessibility & contrast

On white

5.47
#7452CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7452CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452CE#FFFFFF#000000##FFFFFF
##7452CE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#5A6E88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7452ce;
/* rgb */ color: rgb(116, 82, 206);
/* oklch */ color: oklch(54.0% 0.183 291.7);
Tailwind
colors: {
  custom: {
    50: '#a284de',
    500: '#7452ce',
    950: '#000000',
  },
}
SCSS
$custom: #7452ce;
$custom-light: #a284de;
$custom-dark: #000000;
JSON
{
  "hex": "#7452ce",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 256.452,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54,
    "c": 0.18311,
    "h": 291.7
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#7452CE
secondary
#C9D7A4
accent
#DF49B6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7452CE

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

Preview Lab → · Contrast checker → · Palette generator →

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