#7740BC#7740BC

#7740BC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.186 H 300.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7740BC
RGBrgb(119, 64, 188)
HSLhsl(267, 49%, 49%)
HSVhsv(267, 66%, 74%)
CMYKcmyk(36.7%, 66%, 0%, 26.3%)
CIE-LABlab(39.95, 48.70, -56.55)
CIE-LCHlch(39.95, 74.63, 310.73°)
OKLaboklab(50.36% 0.0934 -0.161)
OKLCHoklch(50.36% 0.186 300.1)
XYZxyz(18.5160, 11.2194, 48.7573)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740BC #85BC40
analogous
#4047BC #7740BC #B540BC
triadic
#7740BC #BC7740 #40BC77
tetradic
#7740BC #BC4047 #85BC40 #40BCB5
square
#7740BC #BC4047 #85BC40 #40BCB5
split-complementary
#7740BC #BCB540 #47BC40
monochromatic
#3D2161 #5A308E #7740BC #976CCD #B79ADD

Accessibility & contrast

On white

6.47
#7740BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7740BC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740BC#FFFFFF#000000##FFFFFF
##7740BC1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7740bc;
/* rgb */ color: rgb(119, 64, 188);
/* oklch */ color: oklch(50.4% 0.186 300.1);
Tailwind
colors: {
  custom: {
    50: '#a378d1',
    500: '#7740bc',
    950: '#000000',
  },
}
SCSS
$custom: #7740bc;
$custom-light: #a378d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7740bc",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 266.613,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.18609,
    "h": 300.1
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#7740BC
secondary
#AFC98F
accent
#D94F9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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