#7656ED#7656ED

#7656ED is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.216 H 287.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7656ED
RGBrgb(118, 86, 237)
HSLhsl(253, 81%, 63%)
HSVhsv(253, 64%, 93%)
CMYKcmyk(50.2%, 63.7%, 0%, 7.1%)
CIE-LABlab(47.78, 50.00, -71.95)
CIE-LCHlch(47.78, 87.62, 304.80°)
OKLaboklab(57.12% 0.0639 -0.2063)
OKLCHoklch(57.12% 0.216 287.2)
XYZxyz(26.0806, 16.6203, 81.9382)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656ED #CDED56
analogous
#5681ED #7656ED #C156ED
triadic
#7656ED #ED7656 #56ED76
tetradic
#7656ED #ED5681 #CDED56 #56EDC1
square
#7656ED #ED5681 #CDED56 #56EDC1
split-complementary
#7656ED #EDC156 #81ED56
monochromatic
#3613B5 #491FE7 #7656ED #A38DF3 #D0C5F9

Accessibility & contrast

On white

4.86
#7656ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7656ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656ED
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656ED#FFFFFF#000000##FFFFFF
##7656ED1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#4A7B9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7656ed;
/* rgb */ color: rgb(118, 86, 237);
/* oklch */ color: oklch(57.1% 0.216 287.2);
Tailwind
colors: {
  custom: {
    50: '#a787f4',
    500: '#7656ed',
    950: '#000000',
  },
}
SCSS
$custom: #7656ed;
$custom-light: #a787f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7656ed",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 252.715,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.21599,
    "h": 287.2
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#7656ED
secondary
#DFEAB4
accent
#DD08B0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7656ED

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

Preview Lab → · Contrast checker → · Palette generator →

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