#7751EA#7751EA

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

Color values

HEX#7751EA
RGBrgb(119, 81, 234)
HSLhsl(255, 78%, 62%)
HSVhsv(255, 65%, 92%)
CMYKcmyk(49.1%, 65.4%, 0%, 8.2%)
CIE-LABlab(46.64, 52.05, -72.11)
CIE-LCHlch(46.64, 88.94, 305.82°)
OKLaboklab(56.24% 0.0703 -0.2068)
OKLCHoklch(56.24% 0.218 288.8)
XYZxyz(25.3972, 15.7462, 79.5271)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751EA #C4EA51
analogous
#5178EA #7751EA #C451EA
triadic
#7751EA #EA7751 #51EA77
tetradic
#7751EA #EA5178 #C4EA51 #51EAC4
square
#7751EA #EA5178 #C4EA51 #51EAC4
split-complementary
#7751EA #EAC451 #78EA51
monochromatic
#3A15AC #4D1BE2 #7751EA #A288F1 #CCBEF7

Accessibility & contrast

On white

5.06
#7751EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7751EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751EA#FFFFFF#000000##FFFFFF
##7751EA1.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)
#0072EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#4F7797
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7751ea;
/* rgb */ color: rgb(119, 81, 234);
/* oklch */ color: oklch(56.2% 0.218 288.8);
Tailwind
colors: {
  custom: {
    50: '#a784f2',
    500: '#7751ea',
    950: '#000000',
  },
}
SCSS
$custom: #7751ea;
$custom-light: #a784f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7751ea",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 254.902,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.2184,
    "h": 288.8
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#7751EA
secondary
#DAE8AF
accent
#DB0BA7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7751EA

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

Preview Lab → · Contrast checker → · Palette generator →

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