#7740AA#7740AA

#7740AA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.165 H 304.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7740AA
RGBrgb(119, 64, 170)
HSLhsl(271, 45%, 46%)
HSVhsv(271, 62%, 67%)
CMYKcmyk(30%, 62.4%, 0%, 33.3%)
CIE-LABlab(38.71, 44.20, -47.91)
CIE-LCHlch(38.71, 65.19, 312.69°)
OKLaboklab(49.07% 0.0948 -0.1356)
OKLCHoklch(49.07% 0.165 304.9)
XYZxyz(16.6952, 10.4911, 39.1679)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740AA #73AA40
analogous
#4240AA #7740AA #AA40A8
triadic
#7740AA #AA7740 #40AA77
tetradic
#7740AA #AA4240 #73AA40 #40A8AA
square
#7740AA #AA4240 #73AA40 #40A8AA
split-complementary
#7740AA #A8AA40 #40AA42
monochromatic
#391F51 #582F7E #7740AA #9563C4 #B48FD5

Accessibility & contrast

On white

6.78
#7740AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7740AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7740AA#FFFFFF#000000##FFFFFF
##7740AA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#275BA8
Tritanopia (blue-blind)
#6E566F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7740aa;
/* rgb */ color: rgb(119, 64, 170);
/* oklch */ color: oklch(49.1% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#a278c4',
    500: '#7740aa',
    950: '#000000',
  },
}
SCSS
$custom: #7740aa;
$custom-light: #a278c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7740aa",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 271.132,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.16541,
    "h": 304.9
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#7740AA
secondary
#A2C086
accent
#D55391
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7740AA

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

Preview Lab → · Contrast checker → · Palette generator →

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