#7452DB#7452DB

#7452DB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.199 H 289.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7452DB
RGBrgb(116, 82, 219)
HSLhsl(255, 66%, 59%)
HSVhsv(255, 63%, 86%)
CMYKcmyk(47%, 62.6%, 0%, 14.1%)
CIE-LABlab(45.44, 46.75, -65.57)
CIE-LCHlch(45.44, 80.53, 305.49°)
OKLaboklab(54.96% 0.0669 -0.1876)
OKLCHoklch(54.96% 0.199 289.6)
XYZxyz(23.0023, 14.8612, 68.6606)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452DB #B9DB52
analogous
#5275DB #7452DB #B952DB
triadic
#7452DB #DB7452 #52DB74
tetradic
#7452DB #DB5275 #B9DB52 #52DBB9
square
#7452DB #DB5275 #B9DB52 #52DBB9
split-complementary
#7452DB #DBB952 #75DB52
monochromatic
#3C1F94 #5029C6 #7452DB #9D85E6 #C5B7F0

Accessibility & contrast

On white

5.29
#7452DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7452DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452DB#FFFFFF#000000##FFFFFF
##7452DB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#53728F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7452db;
/* rgb */ color: rgb(116, 82, 219);
/* oklch */ color: oklch(55.0% 0.199 289.6);
Tailwind
colors: {
  custom: {
    50: '#a484e7',
    500: '#7452db',
    950: '#000000',
  },
}
SCSS
$custom: #7452db;
$custom-light: #a484e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7452db",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 254.891,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.19919,
    "h": 289.6
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7452DB

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

Preview Lab → · Contrast checker → · Palette generator →

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