#7656EF#7656EF

#7656EF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.218 H 287.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7656EF
RGBrgb(118, 86, 239)
HSLhsl(253, 83%, 64%)
HSVhsv(253, 64%, 94%)
CMYKcmyk(50.6%, 64%, 0%, 6.3%)
CIE-LABlab(47.93, 50.57, -72.83)
CIE-LCHlch(47.93, 88.67, 304.78°)
OKLaboklab(57.27% 0.0637 -0.2089)
OKLCHoklch(57.27% 0.218 287)
XYZxyz(26.3744, 16.7378, 83.4856)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656EF #CFEF56
analogous
#5682EF #7656EF #C256EF
triadic
#7656EF #EF7656 #56EF76
tetradic
#7656EF #EF5682 #CFEF56 #56EFC2
square
#7656EF #EF5682 #CFEF56 #56EFC2
split-complementary
#7656EF #EFC256 #82EF56
monochromatic
#3512B9 #491EEA #7656EF #A38EF4 #D1C6FA

Accessibility & contrast

On white

4.83
#7656EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7656EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656EF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656EF#FFFFFF#000000##FFFFFF
##7656EF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#497C9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7656ef;
/* rgb */ color: rgb(118, 86, 239);
/* oklch */ color: oklch(57.3% 0.218 287.0);
Tailwind
colors: {
  custom: {
    50: '#a787f5',
    500: '#7656ef',
    950: '#000000',
  },
}
SCSS
$custom: #7656ef;
$custom-light: #a787f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7656ef",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 252.549,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.2184,
    "h": 287
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#7656EF
secondary
#E0EBB5
accent
#DF06B2
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7656EF

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

Preview Lab → · Contrast checker → · Palette generator →

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