#7452CA#7452CA

#7452CA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.178 H 292.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7452CA
RGBrgb(116, 82, 202)
HSLhsl(257, 53%, 56%)
HSVhsv(257, 59%, 79%)
CMYKcmyk(42.6%, 59.4%, 0%, 20.8%)
CIE-LABlab(44.25, 41.99, -57.75)
CIE-LCHlch(44.25, 71.40, 306.02°)
OKLaboklab(53.71% 0.0679 -0.1646)
OKLCHoklch(53.71% 0.178 292.4)
XYZxyz(20.8775, 14.0113, 57.4701)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452CA #A8CA52
analogous
#526CCA #7452CA #B052CA
triadic
#7452CA #CA7452 #52CA74
tetradic
#7452CA #CA526C #A8CA52 #52CAB0
square
#7452CA #CA526C #A8CA52 #52CAB0
split-complementary
#7452CA #CAB052 #6CCA52
monochromatic
#3E267C #5634AB #7452CA #9A81D8 #BFB0E7

Accessibility & contrast

On white

5.52
#7452CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7452CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452CA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452CA#FFFFFF#000000##FFFFFF
##7452CA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0766C7
Tritanopia (blue-blind)
#5C6D86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7452ca;
/* rgb */ color: rgb(116, 82, 202);
/* oklch */ color: oklch(53.7% 0.178 292.4);
Tailwind
colors: {
  custom: {
    50: '#a284db',
    500: '#7452ca',
    950: '#000000',
  },
}
SCSS
$custom: #7452ca;
$custom-light: #a284db;
$custom-dark: #000000;
JSON
{
  "hex": "#7452ca",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 257,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.17809,
    "h": 292.4
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#7452CA
secondary
#C7D5A3
accent
#DD4BB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7452CA

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

Preview Lab → · Contrast checker → · Palette generator →

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