#7656DC#7656DC

#7656DC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.195 H 289.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7656DC
RGBrgb(118, 86, 220)
HSLhsl(254, 66%, 60%)
HSVhsv(254, 61%, 86%)
CMYKcmyk(46.4%, 60.9%, 0%, 13.7%)
CIE-LABlab(46.54, 45.18, -64.35)
CIE-LCHlch(46.54, 78.63, 305.08°)
OKLaboklab(55.83% 0.0653 -0.1839)
OKLCHoklch(55.83% 0.195 289.5)
XYZxyz(23.7136, 15.6735, 69.4721)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656DC #BCDC56
analogous
#5679DC #7656DC #B956DC
triadic
#7656DC #DC7656 #56DC76
tetradic
#7656DC #DC5679 #BCDC56 #56DCB9
square
#7656DC #DC5679 #BCDC56 #56DCB9
split-complementary
#7656DC #DCB956 #79DC56
monochromatic
#3C2098 #502ACB #7656DC #9F89E6 #C8BBF1

Accessibility & contrast

On white

5.08
#7656DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7656DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656DC#FFFFFF#000000##FFFFFF
##7656DC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#567591
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7656dc;
/* rgb */ color: rgb(118, 86, 220);
/* oklch */ color: oklch(55.8% 0.195 289.5);
Tailwind
colors: {
  custom: {
    50: '#a587e8',
    500: '#7656dc',
    950: '#000000',
  },
}
SCSS
$custom: #7656dc;
$custom-light: #a587e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7656dc",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 254.328,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.5583,
    "c": 0.19519,
    "h": 289.5
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#7656DC
secondary
#D4E1AD
accent
#E93FC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7656DC

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

Preview Lab → · Contrast checker → · Palette generator →

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