#7452CB#7452CB

#7452CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.179 H 292.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7452CB
RGBrgb(116, 82, 203)
HSLhsl(257, 54%, 56%)
HSVhsv(257, 60%, 80%)
CMYKcmyk(42.9%, 59.6%, 0%, 20.4%)
CIE-LABlab(44.32, 42.27, -58.22)
CIE-LCHlch(44.32, 71.94, 305.98°)
OKLaboklab(53.78% 0.0679 -0.166)
OKLCHoklch(53.78% 0.179 292.2)
XYZxyz(20.9963, 14.0588, 58.0957)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452CB #A9CB52
analogous
#526CCB #7452CB #B152CB
triadic
#7452CB #CB7452 #52CB74
tetradic
#7452CB #CB526C #A9CB52 #52CBB1
square
#7452CB #CB526C #A9CB52 #52CBB1
split-complementary
#7452CB #CBB152 #6CCB52
monochromatic
#3E267D #5634AC #7452CB #9A81D9 #C0B0E7

Accessibility & contrast

On white

5.51
#7452CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7452CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452CB#FFFFFF#000000##FFFFFF
##7452CB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0266C8
Tritanopia (blue-blind)
#5C6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7452cb;
/* rgb */ color: rgb(116, 82, 203);
/* oklch */ color: oklch(53.8% 0.179 292.2);
Tailwind
colors: {
  custom: {
    50: '#a284dc',
    500: '#7452cb',
    950: '#000000',
  },
}
SCSS
$custom: #7452cb;
$custom-light: #a284dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7452cb",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 256.86,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.17935,
    "h": 292.2
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7452CB

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

Preview Lab → · Contrast checker → · Palette generator →

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