#7740AC#7740AC

#7740AC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.168 H 304.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7740AC
RGBrgb(119, 64, 172)
HSLhsl(271, 46%, 46%)
HSVhsv(271, 63%, 67%)
CMYKcmyk(30.8%, 62.8%, 0%, 32.5%)
CIE-LABlab(38.84, 44.69, -48.89)
CIE-LCHlch(38.84, 66.24, 312.43°)
OKLaboklab(49.21% 0.0947 -0.1384)
OKLCHoklch(49.21% 0.168 304.4)
XYZxyz(16.8859, 10.5674, 40.1718)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740AC #75AC40
analogous
#4140AC #7740AC #AC40AB
triadic
#7740AC #AC7740 #40AC77
tetradic
#7740AC #AC4140 #75AC40 #40ABAC
square
#7740AC #AC4140 #75AC40 #40ABAC
split-complementary
#7740AC #ABAC40 #40AC41
monochromatic
#391F53 #582F7F #7740AC #9664C5 #B491D6

Accessibility & contrast

On white

6.75
#7740AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7740AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740AC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740AC#FFFFFF#000000##FFFFFF
##7740AC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#245BAA
Tritanopia (blue-blind)
#6D5670
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7740ac;
/* rgb */ color: rgb(119, 64, 172);
/* oklch */ color: oklch(49.2% 0.168 304.4);
Tailwind
colors: {
  custom: {
    50: '#a278c5',
    500: '#7740ac',
    950: '#000000',
  },
}
SCSS
$custom: #7740ac;
$custom-light: #a278c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7740ac",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 270.556,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.16772,
    "h": 304.4
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#7740AC
secondary
#A3C187
accent
#D55293
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7740AC

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

Preview Lab → · Contrast checker → · Palette generator →

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