#7656D2#7656D2

#7656D2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.183 H 291.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7656D2
RGBrgb(118, 86, 210)
HSLhsl(255, 58%, 58%)
HSVhsv(255, 59%, 82%)
CMYKcmyk(43.8%, 59%, 0%, 17.6%)
CIE-LABlab(45.85, 42.37, -59.75)
CIE-LCHlch(45.85, 73.25, 305.34°)
OKLaboklab(55.11% 0.0657 -0.1704)
OKLCHoklch(55.11% 0.183 291.1)
XYZxyz(22.4286, 15.1595, 62.7046)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656D2 #B2D256
analogous
#5674D2 #7656D2 #B456D2
triadic
#7656D2 #D27656 #56D276
tetradic
#7656D2 #D25674 #B2D256 #56D2B4
square
#7656D2 #D25674 #B2D256 #56D2B4
split-complementary
#7656D2 #D2B456 #74D256
monochromatic
#3E2589 #5431B9 #7656D2 #9D86DF #C4B7EC

Accessibility & contrast

On white

5.21
#7656D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7656D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656D2#FFFFFF#000000##FFFFFF
##7656D21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#5B728C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7656d2;
/* rgb */ color: rgb(118, 86, 210);
/* oklch */ color: oklch(55.1% 0.183 291.1);
Tailwind
colors: {
  custom: {
    50: '#a487e1',
    500: '#7656d2',
    950: '#000000',
  },
}
SCSS
$custom: #7656d2;
$custom-light: #a487e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7656d2",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 255.484,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.18269,
    "h": 291.1
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#7656D2
secondary
#CEDBA9
accent
#E147B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7656D2

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

Preview Lab → · Contrast checker → · Palette generator →

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