#7656DF#7656DF

#7656DF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.199 H 289.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7656DF
RGBrgb(118, 86, 223)
HSLhsl(254, 68%, 61%)
HSVhsv(254, 61%, 87%)
CMYKcmyk(47.1%, 61.4%, 0%, 12.5%)
CIE-LABlab(46.76, 46.03, -65.71)
CIE-LCHlch(46.76, 80.23, 305.01°)
OKLaboklab(56.05% 0.0651 -0.1879)
OKLCHoklch(56.05% 0.199 289.1)
XYZxyz(24.1145, 15.8339, 71.5834)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656DF #BFDF56
analogous
#567ADF #7656DF #BB56DF
triadic
#7656DF #DF7656 #56DF76
tetradic
#7656DF #DF567A #BFDF56 #56DFBB
square
#7656DF #DF567A #BFDF56 #56DFBB
split-complementary
#7656DF #DFBB56 #7ADF56
monochromatic
#3B1E9D #4F27D0 #7656DF #A089E9 #C9BDF2

Accessibility & contrast

On white

5.04
#7656DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7656DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656DF#FFFFFF#000000##FFFFFF
##7656DF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#547692
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7656df;
/* rgb */ color: rgb(118, 86, 223);
/* oklch */ color: oklch(56.1% 0.199 289.1);
Tailwind
colors: {
  custom: {
    50: '#a587ea',
    500: '#7656df',
    950: '#000000',
  },
}
SCSS
$custom: #7656df;
$custom-light: #a587ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7656df",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 254.015,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.1989,
    "h": 289.1
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7656DF

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

Preview Lab → · Contrast checker → · Palette generator →

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