#7742D5#7742D5

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

Color values

HEX#7742D5
RGBrgb(119, 66, 213)
HSLhsl(262, 64%, 55%)
HSVhsv(262, 69%, 84%)
CMYKcmyk(44.1%, 69%, 0%, 16.5%)
CIE-LABlab(42.19, 54.14, -67.42)
CIE-LCHlch(42.19, 86.46, 308.77°)
OKLaboklab(52.55% 0.0878 -0.1929)
OKLCHoklch(52.55% 0.212 294.5)
XYZxyz(21.5630, 12.6219, 64.2381)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742D5 #A0D542
analogous
#4256D5 #7742D5 #C142D5
triadic
#7742D5 #D57742 #42D577
tetradic
#7742D5 #D54256 #A0D542 #42D5C1
square
#7742D5 #D54256 #A0D542 #42D5C1
split-complementary
#7742D5 #D5C142 #56D542
monochromatic
#401C80 #5A28B2 #7742D5 #9B74E0 #BFA6EB

Accessibility & contrast

On white

5.96
#7742D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7742D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7742D5#FFFFFF#000000##FFFFFF
##7742D51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#5D6787
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7742d5;
/* rgb */ color: rgb(119, 66, 213);
/* oklch */ color: oklch(52.5% 0.212 294.5);
Tailwind
colors: {
  custom: {
    50: '#a67ae3',
    500: '#7742d5',
    950: '#000000',
  },
}
SCSS
$custom: #7742d5;
$custom-light: #a67ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7742d5",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 261.633,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.21195,
    "h": 294.5
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#7742D5
secondary
#C2D89A
accent
#E741AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7742D5

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

Preview Lab → · Contrast checker → · Palette generator →

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