#7451CD#7451CD

#7451CD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.183 H 292.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7451CD
RGBrgb(116, 81, 205)
HSLhsl(257, 55%, 56%)
HSVhsv(257, 60%, 80%)
CMYKcmyk(43.4%, 60.5%, 0%, 19.6%)
CIE-LABlab(44.24, 43.39, -59.50)
CIE-LCHlch(44.24, 73.64, 306.10°)
OKLaboklab(53.77% 0.0689 -0.1698)
OKLCHoklch(53.77% 0.183 292.1)
XYZxyz(21.1613, 14.0050, 59.3340)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451CD #AACD51
analogous
#516CCD #7451CD #B251CD
triadic
#7451CD #CD7451 #51CD74
tetradic
#7451CD #CD516C #AACD51 #51CDB2
square
#7451CD #CD516C #AACD51 #51CDB2
split-complementary
#7451CD #CDB251 #6CCD51
monochromatic
#3E257F #5532AF #7451CD #9A81DB #C0B0E8

Accessibility & contrast

On white

5.52
#7451CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7451CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451CD#FFFFFF#000000##FFFFFF
##7451CD1.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)
#006AD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#5B6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7451cd;
/* rgb */ color: rgb(116, 81, 205);
/* oklch */ color: oklch(53.8% 0.183 292.1);
Tailwind
colors: {
  custom: {
    50: '#a283dd',
    500: '#7451cd',
    950: '#000000',
  },
}
SCSS
$custom: #7451cd;
$custom-light: #a283dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7451cd",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 256.935,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.18322,
    "h": 292.1
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

primary
#7451CD
secondary
#C8D7A3
accent
#DF49B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7451CD

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

Preview Lab → · Contrast checker → · Palette generator →

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