#7656EA#7656EA

#7656EA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.212 H 287.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7656EA
RGBrgb(118, 86, 234)
HSLhsl(253, 78%, 63%)
HSVhsv(253, 63%, 92%)
CMYKcmyk(49.6%, 63.2%, 0%, 8.2%)
CIE-LABlab(47.55, 49.15, -70.63)
CIE-LCHlch(47.55, 86.05, 304.83°)
OKLaboklab(56.88% 0.0642 -0.2024)
OKLCHoklch(56.88% 0.212 287.6)
XYZxyz(25.6459, 16.4465, 79.6491)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656EA #CAEA56
analogous
#5680EA #7656EA #C056EA
triadic
#7656EA #EA7656 #56EA76
tetradic
#7656EA #EA5680 #CAEA56 #56EAC0
square
#7656EA #EA5680 #CAEA56 #56EAC0
split-complementary
#7656EA #EAC056 #80EA56
monochromatic
#3716B0 #4A20E3 #7656EA #A28CF1 #CEC3F8

Accessibility & contrast

On white

4.90
#7656EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7656EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656EA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656EA#FFFFFF#000000##FFFFFF
##7656EA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#4C7A98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7656ea;
/* rgb */ color: rgb(118, 86, 234);
/* oklch */ color: oklch(56.9% 0.212 287.6);
Tailwind
colors: {
  custom: {
    50: '#a687f2',
    500: '#7656ea',
    950: '#000000',
  },
}
SCSS
$custom: #7656ea;
$custom-light: #a687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7656ea",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 252.973,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.21237,
    "h": 287.6
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#7656EA
secondary
#DDE9B3
accent
#DA0BAD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7656EA

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

Preview Lab → · Contrast checker → · Palette generator →

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