#7656CD#7656CD

#7656CD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.176 H 291.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7656CD
RGBrgb(118, 86, 205)
HSLhsl(256, 54%, 57%)
HSVhsv(256, 58%, 80%)
CMYKcmyk(42.4%, 58%, 0%, 19.6%)
CIE-LABlab(45.52, 40.98, -57.43)
CIE-LCHlch(45.52, 70.55, 305.51°)
OKLaboklab(54.75% 0.0659 -0.1636)
OKLCHoklch(54.75% 0.176 291.9)
XYZxyz(21.8154, 14.9143, 59.4751)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656CD #ADCD56
analogous
#5672CD #7656CD #B156CD
triadic
#7656CD #CD7656 #56CD76
tetradic
#7656CD #CD5672 #ADCD56 #56CDB1
square
#7656CD #CD5672 #ADCD56 #56CDB1
split-complementary
#7656CD #CDB156 #72CD56
monochromatic
#3F2682 #5634B1 #7656CD #9C85DB #C3B4E9

Accessibility & contrast

On white

5.27
#7656CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7656CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656CD#FFFFFF#000000##FFFFFF
##7656CD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ED1
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#5E7089
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7656cd;
/* rgb */ color: rgb(118, 86, 205);
/* oklch */ color: oklch(54.8% 0.176 291.9);
Tailwind
colors: {
  custom: {
    50: '#a387dd',
    500: '#7656cd',
    950: '#000000',
  },
}
SCSS
$custom: #7656cd;
$custom-light: #a387dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7656cd",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 256.134,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.17636,
    "h": 291.9
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#7656CD
secondary
#CBD8A7
accent
#DE4AB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7656CD

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

Preview Lab → · Contrast checker → · Palette generator →

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