#7656DE#7656DE

#7656DE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.198 H 289.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7656DE
RGBrgb(118, 86, 222)
HSLhsl(254, 67%, 60%)
HSVhsv(254, 61%, 87%)
CMYKcmyk(46.8%, 61.3%, 0%, 12.9%)
CIE-LABlab(46.68, 45.75, -65.25)
CIE-LCHlch(46.68, 79.69, 305.03°)
OKLaboklab(55.98% 0.0652 -0.1866)
OKLCHoklch(55.98% 0.198 289.2)
XYZxyz(23.9801, 15.7801, 70.8754)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656DE #BEDE56
analogous
#567ADE #7656DE #BA56DE
triadic
#7656DE #DE7656 #56DE76
tetradic
#7656DE #DE567A #BEDE56 #56DEBA
square
#7656DE #DE567A #BEDE56 #56DEBA
split-complementary
#7656DE #DEBA56 #7ADE56
monochromatic
#3C1E9B #4F28CE #7656DE #A089E8 #C9BCF2

Accessibility & contrast

On white

5.05
#7656DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7656DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656DE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656DE#FFFFFF#000000##FFFFFF
##7656DE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#547692
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7656de;
/* rgb */ color: rgb(118, 86, 222);
/* oklch */ color: oklch(56.0% 0.198 289.2);
Tailwind
colors: {
  custom: {
    50: '#a587e9',
    500: '#7656de',
    950: '#000000',
  },
}
SCSS
$custom: #7656de;
$custom-light: #a587e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7656de",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 254.118,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.19767,
    "h": 289.2
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#7656DE
secondary
#D6E2AE
accent
#CF16A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7656DE

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

Preview Lab → · Contrast checker → · Palette generator →

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