#7751EB#7751EB

#7751EB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.220 H 288.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7751EB
RGBrgb(119, 81, 235)
HSLhsl(255, 79%, 62%)
HSVhsv(255, 66%, 92%)
CMYKcmyk(49.4%, 65.5%, 0%, 7.8%)
CIE-LABlab(46.72, 52.33, -72.55)
CIE-LCHlch(46.72, 89.46, 305.80°)
OKLaboklab(56.32% 0.0702 -0.208)
OKLCHoklch(56.32% 0.22 288.6)
XYZxyz(25.5412, 15.8038, 80.2858)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751EB #C5EB51
analogous
#5178EB #7751EB #C451EB
triadic
#7751EB #EB7751 #51EB77
tetradic
#7751EB #EB5178 #C5EB51 #51EBC4
square
#7751EB #EB5178 #C5EB51 #51EBC4
split-complementary
#7751EB #EBC451 #78EB51
monochromatic
#3A14AE #4C1AE5 #7751EB #A288F1 #CDBFF8

Accessibility & contrast

On white

5.05
#7751EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7751EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751EB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751EB#FFFFFF#000000##FFFFFF
##7751EB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#4E7797
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7751eb;
/* rgb */ color: rgb(119, 81, 235);
/* oklch */ color: oklch(56.3% 0.220 288.6);
Tailwind
colors: {
  custom: {
    50: '#a784f2',
    500: '#7751eb',
    950: '#000000',
  },
}
SCSS
$custom: #7751eb;
$custom-light: #a784f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7751eb",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 254.805,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56323,
    "c": 0.21958,
    "h": 288.6
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#7751EB
secondary
#DAE8B0
accent
#DC0AA8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7751EB

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

Preview Lab → · Contrast checker → · Palette generator →

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