#7656BC#7656BC

#7656BC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.6% C 0.154 H 295.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7656BC
RGBrgb(118, 86, 188)
HSLhsl(259, 43%, 54%)
HSVhsv(259, 54%, 74%)
CMYKcmyk(37.2%, 54.3%, 0%, 26.3%)
CIE-LABlab(44.43, 36.30, -49.33)
CIE-LCHlch(44.43, 61.25, 306.34°)
OKLaboklab(53.6% 0.0657 -0.1398)
OKLCHoklch(53.6% 0.154 295.2)
XYZxyz(19.8738, 14.1376, 49.2490)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656BC #9CBC56
analogous
#5669BC #7656BC #A956BC
triadic
#7656BC #BC7656 #56BC76
tetradic
#7656BC #BC5669 #9CBC56 #56BCA9
square
#7656BC #BC5669 #9CBC56 #56BCA9
split-complementary
#7656BC #BCA956 #69BC56
monochromatic
#402B6D #593C98 #7656BC #9A82CD #BDAEDF

Accessibility & contrast

On white

5.49
#7656BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7656BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656BC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656BC#FFFFFF#000000##FFFFFF
##7656BC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296ABF
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#656B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7656bc;
/* rgb */ color: rgb(118, 86, 188);
/* oklch */ color: oklch(53.6% 0.154 295.2);
Tailwind
colors: {
  custom: {
    50: '#a186d1',
    500: '#7656bc',
    950: '#000000',
  },
}
SCSS
$custom: #7656bc;
$custom-light: #a186d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7656bc",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 258.824,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.15447,
    "h": 295.2
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#7656BC
secondary
#BFCDA1
accent
#D355AB
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7656BC

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

Preview Lab → · Contrast checker → · Palette generator →

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