#7742D4#7742D4

#7742D4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.211 H 294.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7742D4
RGBrgb(119, 66, 212)
HSLhsl(262, 63%, 55%)
HSVhsv(262, 69%, 83%)
CMYKcmyk(43.9%, 68.9%, 0%, 16.9%)
CIE-LABlab(42.11, 53.88, -66.97)
CIE-LCHlch(42.11, 85.95, 308.82°)
OKLaboklab(52.47% 0.0879 -0.1916)
OKLCHoklch(52.47% 0.211 294.7)
XYZxyz(21.4364, 12.5713, 63.5717)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742D4 #9FD442
analogous
#4256D4 #7742D4 #C042D4
triadic
#7742D4 #D47742 #42D477
tetradic
#7742D4 #D44256 #9FD442 #42D4C0
square
#7742D4 #D44256 #9FD442 #42D4C0
split-complementary
#7742D4 #D4C042 #56D442
monochromatic
#401D7F #5A28B1 #7742D4 #9B74DF #BFA6EB

Accessibility & contrast

On white

5.98
#7742D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7742D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7742D4#FFFFFF#000000##FFFFFF
##7742D41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#5D6686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7742d4;
/* rgb */ color: rgb(119, 66, 212);
/* oklch */ color: oklch(52.5% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#a67ae2',
    500: '#7742d4',
    950: '#000000',
  },
}
SCSS
$custom: #7742d4;
$custom-light: #a67ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7742d4",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 261.781,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.21083,
    "h": 294.7
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#7742D4
secondary
#C1D89A
accent
#E642AA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7742D4

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

Preview Lab → · Contrast checker → · Palette generator →

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