#7742AC#7742AC

#7742AC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.165 H 304.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7742AC
RGBrgb(119, 66, 172)
HSLhsl(270, 45%, 47%)
HSVhsv(270, 62%, 67%)
CMYKcmyk(30.8%, 61.6%, 0%, 32.5%)
CIE-LABlab(39.24, 43.63, -48.25)
CIE-LCHlch(39.24, 65.05, 312.12°)
OKLaboklab(49.49% 0.0922 -0.1366)
OKLCHoklch(49.49% 0.165 304)
XYZxyz(17.0007, 10.7970, 40.2101)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742AC #77AC42
analogous
#4242AC #7742AC #AC42AC
triadic
#7742AC #AC7742 #42AC77
tetradic
#7742AC #AC4242 #77AC42 #42ACAC
square
#7742AC #AC4242 #77AC42 #42ACAC
split-complementary
#7742AC #ACAC42 #42AC42
monochromatic
#3A2054 #583180 #7742AC #9667C5 #B493D6

Accessibility & contrast

On white

6.65
#7742AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7742AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7742AC#FFFFFF#000000##FFFFFF
##7742AC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035BAF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#6D5871
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7742ac;
/* rgb */ color: rgb(119, 66, 172);
/* oklch */ color: oklch(49.5% 0.165 304.0);
Tailwind
colors: {
  custom: {
    50: '#a279c5',
    500: '#7742ac',
    950: '#000000',
  },
}
SCSS
$custom: #7742ac;
$custom-light: #a279c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7742ac",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.1648,
    "h": 304
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#7742AC
secondary
#A5C189
accent
#D45494
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7742AC

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

Preview Lab → · Contrast checker → · Palette generator →

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