#7451CC#7451CC

#7451CC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.182 H 292.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7451CC
RGBrgb(116, 81, 204)
HSLhsl(257, 55%, 56%)
HSVhsv(257, 60%, 80%)
CMYKcmyk(43.1%, 60.3%, 0%, 20%)
CIE-LABlab(44.17, 43.11, -59.03)
CIE-LCHlch(44.17, 73.10, 306.14°)
OKLaboklab(53.7% 0.069 -0.1684)
OKLCHoklch(53.7% 0.182 292.3)
XYZxyz(21.0410, 13.9569, 58.7004)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451CC #A9CC51
analogous
#516BCC #7451CC #B151CC
triadic
#7451CC #CC7451 #51CC74
tetradic
#7451CC #CC516B #A9CC51 #51CCB1
square
#7451CC #CC516B #A9CC51 #51CCB1
split-complementary
#7451CC #CCB151 #6BCC51
monochromatic
#3E257E #5633AD #7451CC #9A80DA #C0B0E8

Accessibility & contrast

On white

5.54
#7451CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7451CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451CC#FFFFFF#000000##FFFFFF
##7451CC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#5B6D87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7451cc;
/* rgb */ color: rgb(116, 81, 204);
/* oklch */ color: oklch(53.7% 0.182 292.3);
Tailwind
colors: {
  custom: {
    50: '#a283dc',
    500: '#7451cc',
    950: '#000000',
  },
}
SCSS
$custom: #7451cc;
$custom-light: #a283dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7451cc",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 257.073,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.18197,
    "h": 292.3
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#7451CC
secondary
#C7D6A3
accent
#DE4AB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7451CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7451CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva