#7656F3#7656F3

#7656F3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.223 H 286.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7656F3
RGBrgb(118, 86, 243)
HSLhsl(252, 87%, 65%)
HSVhsv(252, 65%, 95%)
CMYKcmyk(51.4%, 64.6%, 0%, 4.7%)
CIE-LABlab(48.23, 51.71, -74.58)
CIE-LCHlch(48.23, 90.76, 304.74°)
OKLaboklab(57.58% 0.0633 -0.214)
OKLCHoklch(57.58% 0.223 286.5)
XYZxyz(26.9719, 16.9768, 86.6323)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656F3 #D3F356
analogous
#5685F3 #7656F3 #C456F3
triadic
#7656F3 #F37656 #56F376
tetradic
#7656F3 #F35685 #D3F356 #56F3C4
square
#7656F3 #F35685 #D3F356 #56F3C4
split-complementary
#7656F3 #F3C456 #85F356
monochromatic
#320EC1 #481DEF #7656F3 #A48FF7 #D3C8FB

Accessibility & contrast

On white

4.78
#7656F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7656F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656F3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656F3#FFFFFF#000000##FFFFFF
##7656F31.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#457D9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7656f3;
/* rgb */ color: rgb(118, 86, 243);
/* oklch */ color: oklch(57.6% 0.223 286.5);
Tailwind
colors: {
  custom: {
    50: '#a787f8',
    500: '#7656f3',
    950: '#000000',
  },
}
SCSS
$custom: #7656f3;
$custom-light: #a787f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7656f3",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 252.229,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.2232,
    "h": 286.5
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7656F3

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

Preview Lab → · Contrast checker → · Palette generator →

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