#7656F2#7656F2

#7656F2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.222 H 286.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7656F2
RGBrgb(118, 86, 242)
HSLhsl(252, 86%, 64%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(51.2%, 64.5%, 0%, 5.1%)
CIE-LABlab(48.15, 51.43, -74.15)
CIE-LCHlch(48.15, 90.24, 304.75°)
OKLaboklab(57.51% 0.0634 -0.2128)
OKLCHoklch(57.51% 0.222 286.6)
XYZxyz(26.8213, 16.9166, 85.8391)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656F2 #D2F256
analogous
#5684F2 #7656F2 #C456F2
triadic
#7656F2 #F27656 #56F276
tetradic
#7656F2 #F25684 #D2F256 #56F2C4
square
#7656F2 #F25684 #D2F256 #56F2C4
split-complementary
#7656F2 #F2C456 #84F256
monochromatic
#330FBF #481DEE #7656F2 #A48FF6 #D2C8FB

Accessibility & contrast

On white

4.79
#7656F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7656F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656F2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656F2#FFFFFF#000000##FFFFFF
##7656F21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#467D9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7656f2;
/* rgb */ color: rgb(118, 86, 242);
/* oklch */ color: oklch(57.5% 0.222 286.6);
Tailwind
colors: {
  custom: {
    50: '#a787f7',
    500: '#7656f2',
    950: '#000000',
  },
}
SCSS
$custom: #7656f2;
$custom-light: #a787f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7656f2",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 252.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.22201,
    "h": 286.6
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#7656F2
secondary
#E2EDB7
accent
#E203B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7656F2

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

Preview Lab → · Contrast checker → · Palette generator →

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