#7456CA#7456CA

#7456CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.172 H 291.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7456CA
RGBrgb(116, 86, 202)
HSLhsl(256, 52%, 56%)
HSVhsv(256, 57%, 79%)
CMYKcmyk(42.6%, 57.4%, 0%, 20.8%)
CIE-LABlab(45.13, 39.70, -56.34)
CIE-LCHlch(45.13, 68.92, 305.17°)
OKLaboklab(54.36% 0.0633 -0.1605)
OKLCHoklch(54.36% 0.172 291.5)
XYZxyz(21.1880, 14.6322, 57.5736)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7456CA #ACCA56
analogous
#5672CA #7456CA #AE56CA
triadic
#7456CA #CA7456 #56CA74
tetradic
#7456CA #CA5672 #ACCA56 #56CAAE
square
#7456CA #CA5672 #ACCA56 #56CAAE
split-complementary
#7456CA #CAAE56 #72CA56
monochromatic
#3E287E #5536AD #7456CA #9A85D9 #C1B3E7

Accessibility & contrast

On white

5.35
#7456CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7456CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7456CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7456CA#FFFFFF#000000##FFFFFF
##7456CA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#1968C7
Tritanopia (blue-blind)
#5C6F88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7456ca;
/* rgb */ color: rgb(116, 86, 202);
/* oklch */ color: oklch(54.4% 0.172 291.5);
Tailwind
colors: {
  custom: {
    50: '#a187db',
    500: '#7456ca',
    950: '#000000',
  },
}
SCSS
$custom: #7456ca;
$custom-light: #a187db;
$custom-dark: #000000;
JSON
{
  "hex": "#7456ca",
  "rgb": {
    "r": 116,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 255.517,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.17249,
    "h": 291.5
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#7456CA
secondary
#C9D6A6
accent
#DC4CB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7456CA

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

Preview Lab → · Contrast checker → · Palette generator →

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