#7656CE#7656CE

#7656CE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.178 H 291.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7656CE
RGBrgb(118, 86, 206)
HSLhsl(256, 55%, 57%)
HSVhsv(256, 58%, 81%)
CMYKcmyk(42.7%, 58.3%, 0%, 19.2%)
CIE-LABlab(45.58, 41.26, -57.89)
CIE-LCHlch(45.58, 71.09, 305.47°)
OKLaboklab(54.82% 0.0658 -0.165)
OKLCHoklch(54.82% 0.178 291.8)
XYZxyz(21.9365, 14.9627, 60.1128)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656CE #AECE56
analogous
#5672CE #7656CE #B256CE
triadic
#7656CE #CE7656 #56CE76
tetradic
#7656CE #CE5672 #AECE56 #56CEB2
square
#7656CE #CE5672 #AECE56 #56CEB2
split-complementary
#7656CE #CEB256 #72CE56
monochromatic
#3F2683 #5634B3 #7656CE #9C85DC #C3B5EA

Accessibility & contrast

On white

5.26
#7656CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7656CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656CE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656CE#FFFFFF#000000##FFFFFF
##7656CE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#5D708A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7656ce;
/* rgb */ color: rgb(118, 86, 206);
/* oklch */ color: oklch(54.8% 0.178 291.8);
Tailwind
colors: {
  custom: {
    50: '#a387de',
    500: '#7656ce',
    950: '#000000',
  },
}
SCSS
$custom: #7656ce;
$custom-light: #a387de;
$custom-dark: #000000;
JSON
{
  "hex": "#7656ce",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 256,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.17762,
    "h": 291.8
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#7656CE
secondary
#CBD8A8
accent
#DE49B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7656CE

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

Preview Lab → · Contrast checker → · Palette generator →

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