#7751F0#7751F0

#7751F0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.225 H 288.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7751F0
RGBrgb(119, 81, 240)
HSLhsl(254, 84%, 63%)
HSVhsv(254, 66%, 94%)
CMYKcmyk(50.4%, 66.3%, 0%, 5.9%)
CIE-LABlab(47.10, 53.72, -74.74)
CIE-LCHlch(47.10, 92.04, 305.71°)
OKLaboklab(56.72% 0.0696 -0.2145)
OKLCHoklch(56.72% 0.225 288)
XYZxyz(26.2738, 16.0968, 84.1438)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751F0 #CAF051
analogous
#517AF0 #7751F0 #C751F0
triadic
#7751F0 #F07751 #51F077
tetradic
#7751F0 #F0517A #CAF051 #51F0C7
square
#7751F0 #F0517A #CAF051 #51F0C7
split-complementary
#7751F0 #F0C751 #7AF051
monochromatic
#3810B7 #4B19EB #7751F0 #A389F5 #CFC2FA

Accessibility & contrast

On white

4.98
#7751F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7751F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751F0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751F0#FFFFFF#000000##FFFFFF
##7751F01.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#4B799A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7751f0;
/* rgb */ color: rgb(119, 81, 240);
/* oklch */ color: oklch(56.7% 0.225 288.0);
Tailwind
colors: {
  custom: {
    50: '#a884f6',
    500: '#7751f0',
    950: '#000000',
  },
}
SCSS
$custom: #7751f0;
$custom-light: #a884f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7751f0",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 254.34,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.22547,
    "h": 288
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#7751F0
secondary
#DDEBB2
accent
#E105AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7751F0

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

Preview Lab → · Contrast checker → · Palette generator →

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