#7656EB#7656EB

#7656EB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.214 H 287.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7656EB
RGBrgb(118, 86, 235)
HSLhsl(253, 79%, 63%)
HSVhsv(253, 63%, 92%)
CMYKcmyk(49.8%, 63.4%, 0%, 7.8%)
CIE-LABlab(47.63, 49.44, -71.07)
CIE-LCHlch(47.63, 86.57, 304.82°)
OKLaboklab(56.96% 0.0641 -0.2037)
OKLCHoklch(56.96% 0.214 287.5)
XYZxyz(25.7900, 16.5041, 80.4079)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656EB #CBEB56
analogous
#5680EB #7656EB #C056EB
triadic
#7656EB #EB7656 #56EB76
tetradic
#7656EB #EB5680 #CBEB56 #56EBC0
square
#7656EB #EB5680 #CBEB56 #56EBC0
split-complementary
#7656EB #EBC056 #80EB56
monochromatic
#3715B2 #4A1FE5 #7656EB #A28DF1 #CFC3F8

Accessibility & contrast

On white

4.88
#7656EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7656EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656EB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656EB#FFFFFF#000000##FFFFFF
##7656EB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#4C7A99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7656eb;
/* rgb */ color: rgb(118, 86, 235);
/* oklch */ color: oklch(57.0% 0.214 287.5);
Tailwind
colors: {
  custom: {
    50: '#a687f2',
    500: '#7656eb',
    950: '#000000',
  },
}
SCSS
$custom: #7656eb;
$custom-light: #a687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7656eb",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 252.886,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.21358,
    "h": 287.5
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#7656EB
secondary
#DEE9B4
accent
#DB0AAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7656EB

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

Preview Lab → · Contrast checker → · Palette generator →

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