#7751CC#7751CC

#7751CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.182 H 293.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7751CC
RGBrgb(119, 81, 204)
HSLhsl(259, 55%, 56%)
HSVhsv(259, 60%, 80%)
CMYKcmyk(41.7%, 60.3%, 0%, 20%)
CIE-LABlab(44.47, 43.75, -58.54)
CIE-LCHlch(44.47, 73.08, 306.78°)
OKLaboklab(53.99% 0.073 -0.1668)
OKLCHoklch(53.99% 0.182 293.6)
XYZxyz(21.4463, 14.1659, 58.7194)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751CC #A6CC51
analogous
#5168CC #7751CC #B551CC
triadic
#7751CC #CC7751 #51CC77
tetradic
#7751CC #CC5168 #A6CC51 #51CCB5
square
#7751CC #CC5168 #A6CC51 #51CCB5
split-complementary
#7751CC #CCB551 #68CC51
monochromatic
#40257E #5933AD #7751CC #9C80DA #C1B0E8

Accessibility & contrast

On white

5.48
#7751CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7751CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751CC#FFFFFF#000000##FFFFFF
##7751CC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0367C9
Tritanopia (blue-blind)
#606C87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7751cc;
/* rgb */ color: rgb(119, 81, 204);
/* oklch */ color: oklch(54.0% 0.182 293.6);
Tailwind
colors: {
  custom: {
    50: '#a483dc',
    500: '#7751cc',
    950: '#000000',
  },
}
SCSS
$custom: #7751cc;
$custom-light: #a483dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7751cc",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 258.537,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.18209,
    "h": 293.6
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#7751CC
secondary
#C6D6A3
accent
#DE4AB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7751CC

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

Preview Lab → · Contrast checker → · Palette generator →

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