#7740D9#7740D9

#7740D9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.219 H 294.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7740D9
RGBrgb(119, 64, 217)
HSLhsl(262, 67%, 55%)
HSVhsv(262, 71%, 85%)
CMYKcmyk(45.2%, 70.5%, 0%, 14.9%)
CIE-LABlab(42.15, 56.17, -69.77)
CIE-LCHlch(42.15, 89.57, 308.83°)
OKLaboklab(52.62% 0.0889 -0.1998)
OKLCHoklch(52.62% 0.219 294)
XYZxyz(21.9621, 12.5978, 66.9067)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740D9 #A2D940
analogous
#4055D9 #7740D9 #C440D9
triadic
#7740D9 #D97740 #40D977
tetradic
#7740D9 #D94055 #A2D940 #40D9C4
square
#7740D9 #D94055 #A2D940 #40D9C4
split-complementary
#7740D9 #D9C440 #55D940
monochromatic
#401A84 #5924B7 #7740D9 #9B73E3 #C0A6ED

Accessibility & contrast

On white

5.97
#7740D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7740D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740D9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740D9#FFFFFF#000000##FFFFFF
##7740D91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7740d9;
/* rgb */ color: rgb(119, 64, 217);
/* oklch */ color: oklch(52.6% 0.219 294.0);
Tailwind
colors: {
  custom: {
    50: '#a679e6',
    500: '#7740d9',
    950: '#000000',
  },
}
SCSS
$custom: #7740d9;
$custom-light: #a679e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7740d9",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 261.569,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.21872,
    "h": 294
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7740D9

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

Preview Lab → · Contrast checker → · Palette generator →

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