#7742AD#7742AD

#7742AD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.166 H 303.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7742AD
RGBrgb(119, 66, 173)
HSLhsl(270, 45%, 47%)
HSVhsv(270, 62%, 68%)
CMYKcmyk(31.2%, 61.8%, 0%, 32.2%)
CIE-LABlab(39.30, 43.88, -48.74)
CIE-LCHlch(39.30, 65.58, 311.99°)
OKLaboklab(49.56% 0.0922 -0.138)
OKLCHoklch(49.56% 0.166 303.7)
XYZxyz(17.0971, 10.8355, 40.7178)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742AD #78AD42
analogous
#4242AD #7742AD #AD42AD
triadic
#7742AD #AD7742 #42AD77
tetradic
#7742AD #AD4242 #78AD42 #42ADAD
square
#7742AD #AD4242 #78AD42 #42ADAD
split-complementary
#7742AD #ADAD42 #42AD42
monochromatic
#3A2054 #593181 #7742AD #9667C5 #B493D6

Accessibility & contrast

On white

6.63
#7742AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7742AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7742AD#FFFFFF#000000##FFFFFF
##7742AD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#265CAB
Tritanopia (blue-blind)
#6D5871
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7742ad;
/* rgb */ color: rgb(119, 66, 173);
/* oklch */ color: oklch(49.6% 0.166 303.7);
Tailwind
colors: {
  custom: {
    50: '#a279c6',
    500: '#7742ad',
    950: '#000000',
  },
}
SCSS
$custom: #7742ad;
$custom-light: #a279c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7742ad",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 269.72,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.16597,
    "h": 303.7
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#7742AD
secondary
#A6C189
accent
#D45395
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7742AD

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

Preview Lab → · Contrast checker → · Palette generator →

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