#7751F2#7751F2

#7751F2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.228 H 287.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7751F2
RGBrgb(119, 81, 242)
HSLhsl(254, 86%, 63%)
HSVhsv(254, 67%, 95%)
CMYKcmyk(50.8%, 66.5%, 0%, 5.1%)
CIE-LABlab(47.26, 54.28, -75.61)
CIE-LCHlch(47.26, 93.07, 305.68°)
OKLaboklab(56.88% 0.0693 -0.217)
OKLCHoklch(56.88% 0.228 287.7)
XYZxyz(26.5725, 16.2163, 85.7171)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751F2 #CCF251
analogous
#517CF2 #7751F2 #C751F2
triadic
#7751F2 #F27751 #51F277
tetradic
#7751F2 #F2517C #CCF251 #51F2C7
square
#7751F2 #F2517C #CCF251 #51F2C7
split-complementary
#7751F2 #F2C751 #7CF251
monochromatic
#370EBB #4A18EE #7751F2 #A48AF6 #D0C3FB

Accessibility & contrast

On white

4.95
#7751F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7751F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751F2#FFFFFF#000000##FFFFFF
##7751F21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#497A9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7751f2;
/* rgb */ color: rgb(119, 81, 242);
/* oklch */ color: oklch(56.9% 0.228 287.7);
Tailwind
colors: {
  custom: {
    50: '#a884f7',
    500: '#7751f2',
    950: '#000000',
  },
}
SCSS
$custom: #7751f2;
$custom-light: #a884f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7751f2",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 254.161,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56881,
    "c": 0.22781,
    "h": 287.7
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#7751F2
secondary
#DFECB3
accent
#E303AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7751F2

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

Preview Lab → · Contrast checker → · Palette generator →

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