#7740D8#7740D8

#7740D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.218 H 294.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7740D8
RGBrgb(119, 64, 216)
HSLhsl(262, 66%, 55%)
HSVhsv(262, 70%, 85%)
CMYKcmyk(44.9%, 70.4%, 0%, 15.3%)
CIE-LABlab(42.07, 55.91, -69.33)
CIE-LCHlch(42.07, 89.06, 308.88°)
OKLaboklab(52.54% 0.0891 -0.1985)
OKLCHoklch(52.54% 0.218 294.2)
XYZxyz(21.8324, 12.5460, 66.2237)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740D8 #A1D840
analogous
#4055D8 #7740D8 #C340D8
triadic
#7740D8 #D87740 #40D877
tetradic
#7740D8 #D84055 #A1D840 #40D8C3
square
#7740D8 #D84055 #A1D840 #40D8C3
split-complementary
#7740D8 #D8C340 #55D840
monochromatic
#401B83 #5925B6 #7740D8 #9B73E2 #BFA6ED

Accessibility & contrast

On white

5.98
#7740D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7740D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740D8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740D8#FFFFFF#000000##FFFFFF
##7740D81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#5B6788
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7740d8;
/* rgb */ color: rgb(119, 64, 216);
/* oklch */ color: oklch(52.5% 0.218 294.2);
Tailwind
colors: {
  custom: {
    50: '#a679e5',
    500: '#7740d8',
    950: '#000000',
  },
}
SCSS
$custom: #7740d8;
$custom-light: #a679e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7740d8",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 261.711,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.21761,
    "h": 294.2
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#7740D8
secondary
#C3DA9A
accent
#E93FAB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7740D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7740D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva