#7742D9#7742D9

#7742D9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.216 H 293.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7742D9
RGBrgb(119, 66, 217)
HSLhsl(261, 67%, 55%)
HSVhsv(261, 70%, 85%)
CMYKcmyk(45.2%, 69.6%, 0%, 14.9%)
CIE-LABlab(42.50, 55.19, -69.20)
CIE-LCHlch(42.50, 88.51, 308.57°)
OKLaboklab(52.87% 0.0871 -0.1982)
OKLCHoklch(52.87% 0.216 293.7)
XYZxyz(22.0769, 12.8275, 66.9449)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742D9 #A4D942
analogous
#4258D9 #7742D9 #C342D9
triadic
#7742D9 #D97742 #42D977
tetradic
#7742D9 #D94258 #A4D942 #42D9C3
square
#7742D9 #D94258 #A4D942 #42D9C3
split-complementary
#7742D9 #D9C342 #58D942
monochromatic
#401B86 #5925B9 #7742D9 #9C75E3 #C0A8ED

Accessibility & contrast

On white

5.89
#7742D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7742D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7742D9#FFFFFF#000000##FFFFFF
##7742D91.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#5A6889
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7742d9;
/* rgb */ color: rgb(119, 66, 217);
/* oklch */ color: oklch(52.9% 0.216 293.7);
Tailwind
colors: {
  custom: {
    50: '#a67ae6',
    500: '#7742d9',
    950: '#000000',
  },
}
SCSS
$custom: #7742d9;
$custom-light: #a67ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7742d9",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 261.06,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.21645,
    "h": 293.7
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#7742D9
secondary
#C5DB9C
accent
#E93EAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7742D9

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

Preview Lab → · Contrast checker → · Palette generator →

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