#7740A2#7740A2

#7740A2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.156 H 307.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7740A2
RGBrgb(119, 64, 162)
HSLhsl(274, 43%, 44%)
HSVhsv(274, 60%, 64%)
CMYKcmyk(26.5%, 60.5%, 0%, 36.5%)
CIE-LABlab(38.19, 42.26, -43.96)
CIE-LCHlch(38.19, 60.98, 313.87°)
OKLaboklab(48.53% 0.0949 -0.124)
OKLCHoklch(48.53% 0.156 307.4)
XYZxyz(15.9614, 10.1976, 35.3029)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740A2 #6BA240
analogous
#4640A2 #7740A2 #A2409C
triadic
#7740A2 #A27740 #40A277
tetradic
#7740A2 #A24640 #6BA240 #409CA2
square
#7740A2 #A24640 #6BA240 #409CA2
split-complementary
#7740A2 #9CA240 #40A246
monochromatic
#371D4A #572F76 #7740A2 #965FC0 #B28BD1

Accessibility & contrast

On white

6.91
#7740A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7740A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7740A2#FFFFFF#000000##FFFFFF
##7740A21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#70536B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7740a2;
/* rgb */ color: rgb(119, 64, 162);
/* oklch */ color: oklch(48.5% 0.156 307.4);
Tailwind
colors: {
  custom: {
    50: '#a178be',
    500: '#7740a2',
    950: '#000000',
  },
}
SCSS
$custom: #7740a2;
$custom-light: #a178be;
$custom-dark: #000000;
JSON
{
  "hex": "#7740a2",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 273.673,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.15616,
    "h": 307.4
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#7740A2
secondary
#9BBC82
accent
#D3558C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7740A2

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

Preview Lab → · Contrast checker → · Palette generator →

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