#7656BF#7656BF

#7656BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.8% C 0.158 H 294.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7656BF
RGBrgb(118, 86, 191)
HSLhsl(258, 45%, 54%)
HSVhsv(258, 55%, 75%)
CMYKcmyk(38.2%, 55%, 0%, 25.1%)
CIE-LABlab(44.62, 37.11, -50.78)
CIE-LCHlch(44.62, 62.90, 306.16°)
OKLaboklab(53.8% 0.0658 -0.1441)
OKLCHoklch(53.8% 0.158 294.5)
XYZxyz(20.2005, 14.2683, 50.9699)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656BF #9FBF56
analogous
#566BBF #7656BF #AB56BF
triadic
#7656BF #BF7656 #56BF76
tetradic
#7656BF #BF566B #9FBF56 #56BFAB
square
#7656BF #BF566B #9FBF56 #56BFAB
split-complementary
#7656BF #BFAB56 #6BBF56
monochromatic
#402A70 #593B9D #7656BF #9A82D0 #BEAFE1

Accessibility & contrast

On white

5.45
#7656BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7656BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656BF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656BF#FFFFFF#000000##FFFFFF
##7656BF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#646C82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7656bf;
/* rgb */ color: rgb(118, 86, 191);
/* oklch */ color: oklch(53.8% 0.158 294.5);
Tailwind
colors: {
  custom: {
    50: '#a286d3',
    500: '#7656bf',
    950: '#000000',
  },
}
SCSS
$custom: #7656bf;
$custom-light: #a286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7656bf",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 258.286,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.538,
    "c": 0.15837,
    "h": 294.5
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#7656BF
secondary
#C1CFA2
accent
#D553AD
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7656BF

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

Preview Lab → · Contrast checker → · Palette generator →

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