#7751E8#7751E8

#7751E8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.216 H 289.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7751E8
RGBrgb(119, 81, 232)
HSLhsl(255, 77%, 61%)
HSVhsv(255, 65%, 91%)
CMYKcmyk(48.7%, 65.1%, 0%, 9%)
CIE-LABlab(46.49, 51.49, -71.23)
CIE-LCHlch(46.49, 87.89, 305.86°)
OKLaboklab(56.09% 0.0706 -0.2042)
OKLCHoklch(56.09% 0.216 289.1)
XYZxyz(25.1115, 15.6319, 78.0224)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751E8 #C2E851
analogous
#5177E8 #7751E8 #C251E8
triadic
#7751E8 #E87751 #51E877
tetradic
#7751E8 #E85177 #C2E851 #51E8C2
square
#7751E8 #E85177 #C2E851 #51E8C2
split-complementary
#7751E8 #E8C251 #77E851
monochromatic
#3B16A8 #4E1DDE #7751E8 #A187EF #CCBDF6

Accessibility & contrast

On white

5.09
#7751E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7751E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751E8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751E8#FFFFFF#000000##FFFFFF
##7751E81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#507696
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7751e8;
/* rgb */ color: rgb(119, 81, 232);
/* oklch */ color: oklch(56.1% 0.216 289.1);
Tailwind
colors: {
  custom: {
    50: '#a784f0',
    500: '#7751e8',
    950: '#000000',
  },
}
SCSS
$custom: #7751e8;
$custom-light: #a784f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7751e8",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 255.099,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.21603,
    "h": 289.1
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#7751E8
secondary
#D8E7AE
accent
#D90DA5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7751E8

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

Preview Lab → · Contrast checker → · Palette generator →

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