#7656CF#7656CF

#7656CF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.179 H 291.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7656CF
RGBrgb(118, 86, 207)
HSLhsl(256, 56%, 57%)
HSVhsv(256, 58%, 81%)
CMYKcmyk(43%, 58.5%, 0%, 18.8%)
CIE-LABlab(45.65, 41.53, -58.36)
CIE-LCHlch(45.65, 71.63, 305.44°)
OKLaboklab(54.89% 0.0658 -0.1663)
OKLCHoklch(54.89% 0.179 291.6)
XYZxyz(22.0584, 15.0114, 60.7547)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656CF #AFCF56
analogous
#5672CF #7656CF #B356CF
triadic
#7656CF #CF7656 #56CF76
tetradic
#7656CF #CF5672 #AFCF56 #56CFB3
square
#7656CF #CF5672 #AFCF56 #56CFB3
split-complementary
#7656CF #CFB356 #72CF56
monochromatic
#3F2685 #5533B5 #7656CF #9D86DD #C3B5EA

Accessibility & contrast

On white

5.25
#7656CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7656CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656CF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656CF#FFFFFF#000000##FFFFFF
##7656CF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0E6ACC
Tritanopia (blue-blind)
#5D718A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7656cf;
/* rgb */ color: rgb(118, 86, 207);
/* oklch */ color: oklch(54.9% 0.179 291.6);
Tailwind
colors: {
  custom: {
    50: '#a387de',
    500: '#7656cf',
    950: '#000000',
  },
}
SCSS
$custom: #7656cf;
$custom-light: #a387de;
$custom-dark: #000000;
JSON
{
  "hex": "#7656cf",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 255.868,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.1789,
    "h": 291.6
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#7656CF
secondary
#CCD9A8
accent
#DF49B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7656CF

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

Preview Lab → · Contrast checker → · Palette generator →

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