#7742AA#7742AA

#7742AA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.162 H 304.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7742AA
RGBrgb(119, 66, 170)
HSLhsl(271, 44%, 46%)
HSVhsv(271, 61%, 67%)
CMYKcmyk(30%, 61.2%, 0%, 33.3%)
CIE-LABlab(39.11, 43.13, -47.28)
CIE-LCHlch(39.11, 64.00, 312.38°)
OKLaboklab(49.36% 0.0923 -0.1337)
OKLCHoklch(49.36% 0.162 304.6)
XYZxyz(16.8101, 10.7207, 39.2061)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742AA #75AA42
analogous
#4342AA #7742AA #AA42A9
triadic
#7742AA #AA7742 #42AA77
tetradic
#7742AA #AA4342 #75AA42 #42A9AA
square
#7742AA #AA4342 #75AA42 #42A9AA
split-complementary
#7742AA #A9AA42 #42AA43
monochromatic
#392052 #58317E #7742AA #9666C3 #B492D5

Accessibility & contrast

On white

6.68
#7742AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7742AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742AA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742AA#FFFFFF#000000##FFFFFF
##7742AA1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#2A5CA8
Tritanopia (blue-blind)
#6E5770
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7742aa;
/* rgb */ color: rgb(119, 66, 170);
/* oklch */ color: oklch(49.4% 0.162 304.6);
Tailwind
colors: {
  custom: {
    50: '#a279c4',
    500: '#7742aa',
    950: '#000000',
  },
}
SCSS
$custom: #7742aa;
$custom-light: #a279c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7742aa",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 270.577,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.16246,
    "h": 304.6
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#7742AA
secondary
#A3C088
accent
#D45493
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7742AA

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

Preview Lab → · Contrast checker → · Palette generator →

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