#7740BA#7740BA

#7740BA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.184 H 300.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7740BA
RGBrgb(119, 64, 186)
HSLhsl(267, 49%, 49%)
HSVhsv(267, 66%, 73%)
CMYKcmyk(36%, 65.6%, 0%, 27.1%)
CIE-LABlab(39.80, 48.19, -55.61)
CIE-LCHlch(39.80, 73.58, 310.91°)
OKLaboklab(50.21% 0.0936 -0.1582)
OKLCHoklch(50.21% 0.184 300.6)
XYZxyz(18.3019, 11.1338, 47.6297)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740BA #83BA40
analogous
#4046BA #7740BA #B440BA
triadic
#7740BA #BA7740 #40BA77
tetradic
#7740BA #BA4046 #83BA40 #40BAB4
square
#7740BA #BA4046 #83BA40 #40BAB4
split-complementary
#7740BA #BAB440 #46BA40
monochromatic
#3D215F #5A308C #7740BA #976BCC #B799DC

Accessibility & contrast

On white

6.51
#7740BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7740BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740BA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740BA#FFFFFF#000000##FFFFFF
##7740BA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#695B77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7740ba;
/* rgb */ color: rgb(119, 64, 186);
/* oklch */ color: oklch(50.2% 0.184 300.6);
Tailwind
colors: {
  custom: {
    50: '#a378cf',
    500: '#7740ba',
    950: '#000000',
  },
}
SCSS
$custom: #7740ba;
$custom-light: #a378cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7740ba",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 267.049,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.18381,
    "h": 300.6
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#7740BA
secondary
#AEC88E
accent
#D84F9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7740BA

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

Preview Lab → · Contrast checker → · Palette generator →

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