#7651EB#7651EB

#7651EB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.220 H 288.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7651EB
RGBrgb(118, 81, 235)
HSLhsl(254, 79%, 62%)
HSVhsv(254, 66%, 92%)
CMYKcmyk(49.8%, 65.5%, 0%, 7.8%)
CIE-LABlab(46.62, 52.15, -72.71)
CIE-LCHlch(46.62, 89.48, 305.65°)
OKLaboklab(56.23% 0.0689 -0.2085)
OKLCHoklch(56.23% 0.22 288.3)
XYZxyz(25.4047, 15.7334, 80.2794)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651EB #C6EB51
analogous
#5179EB #7651EB #C351EB
triadic
#7651EB #EB7651 #51EB76
tetradic
#7651EB #EB5179 #C6EB51 #51EBC3
square
#7651EB #EB5179 #C6EB51 #51EBC3
split-complementary
#7651EB #EBC351 #79EB51
monochromatic
#3914AE #4B1AE5 #7651EB #A188F1 #CCBFF8

Accessibility & contrast

On white

5.06
#7651EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7651EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651EB#FFFFFF#000000##FFFFFF
##7651EB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#4C7797
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7651eb;
/* rgb */ color: rgb(118, 81, 235);
/* oklch */ color: oklch(56.2% 0.220 288.3);
Tailwind
colors: {
  custom: {
    50: '#a784f2',
    500: '#7651eb',
    950: '#000000',
  },
}
SCSS
$custom: #7651eb;
$custom-light: #a784f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7651eb",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 254.416,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.21962,
    "h": 288.3
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#7651EB
secondary
#DBE8B0
accent
#DC0AA9
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7651EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7651EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva