#7656F1#7656F1

#7656F1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.221 H 286.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7656F1
RGBrgb(118, 86, 241)
HSLhsl(252, 85%, 64%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(51%, 64.3%, 0%, 5.5%)
CIE-LABlab(48.08, 51.14, -73.71)
CIE-LCHlch(48.08, 89.72, 304.75°)
OKLaboklab(57.43% 0.0635 -0.2115)
OKLCHoklch(57.43% 0.221 286.7)
XYZxyz(26.6715, 16.8567, 85.0503)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656F1 #D1F156
analogous
#5684F1 #7656F1 #C456F1
triadic
#7656F1 #F17656 #56F176
tetradic
#7656F1 #F15684 #D1F156 #56F1C4
square
#7656F1 #F15684 #D1F156 #56F1C4
split-complementary
#7656F1 #F1C456 #84F156
monochromatic
#3310BD #481DEC #7656F1 #A48FF6 #D2C7FA

Accessibility & contrast

On white

4.80
#7656F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7656F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656F1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656F1#FFFFFF#000000##FFFFFF
##7656F11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#477C9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7656f1;
/* rgb */ color: rgb(118, 86, 241);
/* oklch */ color: oklch(57.4% 0.221 286.7);
Tailwind
colors: {
  custom: {
    50: '#a787f7',
    500: '#7656f1',
    950: '#000000',
  },
}
SCSS
$custom: #7656f1;
$custom-light: #a787f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7656f1",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 252.387,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.2208,
    "h": 286.7
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#7656F1
secondary
#E1ECB6
accent
#E104B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7656F1

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

Preview Lab → · Contrast checker → · Palette generator →

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