#7751DC#7751DC

#7751DC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.202 H 290.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7751DC
RGBrgb(119, 81, 220)
HSLhsl(256, 67%, 59%)
HSVhsv(256, 63%, 86%)
CMYKcmyk(45.9%, 63.2%, 0%, 13.7%)
CIE-LABlab(45.60, 48.16, -65.88)
CIE-LCHlch(45.60, 81.60, 306.17°)
OKLaboklab(55.17% 0.0719 -0.1884)
OKLCHoklch(55.17% 0.202 290.9)
XYZxyz(23.4648, 14.9733, 69.3501)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751DC #B6DC51
analogous
#5171DC #7751DC #BD51DC
triadic
#7751DC #DC7751 #51DC77
tetradic
#7751DC #DC5171 #B6DC51 #51DCBD
square
#7751DC #DC5171 #B6DC51 #51DCBD
split-complementary
#7751DC #DCBD51 #71DC51
monochromatic
#3E1E95 #5428C8 #7751DC #9F84E6 #C7B7F0

Accessibility & contrast

On white

5.26
#7751DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7751DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751DC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751DC#FFFFFF#000000##FFFFFF
##7751DC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#58728F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7751dc;
/* rgb */ color: rgb(119, 81, 220);
/* oklch */ color: oklch(55.2% 0.202 290.9);
Tailwind
colors: {
  custom: {
    50: '#a684e8',
    500: '#7751dc',
    950: '#000000',
  },
}
SCSS
$custom: #7751dc;
$custom-light: #a684e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7751dc",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 256.403,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.20166,
    "h": 290.9
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#7751DC
secondary
#D1E0A9
accent
#E93EBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7751DC

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

Preview Lab → · Contrast checker → · Palette generator →

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