#7740BB#7740BB

#7740BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.185 H 300.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7740BB
RGBrgb(119, 64, 187)
HSLhsl(267, 49%, 49%)
HSVhsv(267, 66%, 73%)
CMYKcmyk(36.4%, 65.8%, 0%, 26.7%)
CIE-LABlab(39.88, 48.44, -56.08)
CIE-LCHlch(39.88, 74.11, 310.82°)
OKLaboklab(50.28% 0.0935 -0.1596)
OKLCHoklch(50.28% 0.185 300.4)
XYZxyz(18.4086, 11.1764, 48.1915)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740BB #84BB40
analogous
#4047BB #7740BB #B540BB
triadic
#7740BB #BB7740 #40BB77
tetradic
#7740BB #BB4047 #84BB40 #40BBB5
square
#7740BB #BB4047 #84BB40 #40BBB5
split-complementary
#7740BB #BBB540 #47BB40
monochromatic
#3D2160 #5A308D #7740BB #976CCD #B799DC

Accessibility & contrast

On white

6.49
#7740BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7740BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740BB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740BB#FFFFFF#000000##FFFFFF
##7740BB1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#685C78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7740bb;
/* rgb */ color: rgb(119, 64, 187);
/* oklch */ color: oklch(50.3% 0.185 300.4);
Tailwind
colors: {
  custom: {
    50: '#a378d0',
    500: '#7740bb',
    950: '#000000',
  },
}
SCSS
$custom: #7740bb;
$custom-light: #a378d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7740bb",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 266.829,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.18495,
    "h": 300.4
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#7740BB
secondary
#AEC88F
accent
#D94F9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7740BB

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

Preview Lab → · Contrast checker → · Palette generator →

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