#7751E4#7751E4

#7751E4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.211 H 289.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7751E4
RGBrgb(119, 81, 228)
HSLhsl(256, 73%, 61%)
HSVhsv(256, 64%, 89%)
CMYKcmyk(47.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(46.19, 50.38, -69.46)
CIE-LCHlch(46.19, 85.81, 305.95°)
OKLaboklab(55.78% 0.0711 -0.199)
OKLCHoklch(55.78% 0.211 289.7)
XYZxyz(24.5498, 15.4072, 75.0641)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751E4 #BEE451
analogous
#5174E4 #7751E4 #C051E4
triadic
#7751E4 #E47751 #51E477
tetradic
#7751E4 #E45174 #BEE451 #51E4C0
square
#7751E4 #E45174 #BEE451 #51E4C0
split-complementary
#7751E4 #E4C051 #74E451
monochromatic
#3C19A2 #5021D7 #7751E4 #A086EC #CABBF4

Accessibility & contrast

On white

5.15
#7751E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7751E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751E4#FFFFFF#000000##FFFFFF
##7751E41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#537593
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7751e4;
/* rgb */ color: rgb(119, 81, 228);
/* oklch */ color: oklch(55.8% 0.211 289.7);
Tailwind
colors: {
  custom: {
    50: '#a684ed',
    500: '#7751e4',
    950: '#000000',
  },
}
SCSS
$custom: #7751e4;
$custom-light: #a684ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7751e4",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 255.51,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55776,
    "c": 0.21127,
    "h": 289.7
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#7751E4
secondary
#D6E4AC
accent
#D510A2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7751E4

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

Preview Lab → · Contrast checker → · Palette generator →

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