#7742D2#7742D2

#7742D2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.209 H 295.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7742D2
RGBrgb(119, 66, 210)
HSLhsl(262, 62%, 54%)
HSVhsv(262, 69%, 82%)
CMYKcmyk(43.3%, 68.6%, 0%, 17.6%)
CIE-LABlab(41.96, 53.35, -66.07)
CIE-LCHlch(41.96, 84.92, 308.92°)
OKLaboklab(52.31% 0.0883 -0.189)
OKLCHoklch(52.31% 0.209 295)
XYZxyz(21.1857, 12.4710, 62.2512)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742D2 #9DD242
analogous
#4255D2 #7742D2 #BF42D2
triadic
#7742D2 #D27742 #42D277
tetradic
#7742D2 #D24255 #9DD242 #42D2BF
square
#7742D2 #D24255 #9DD242 #42D2BF
split-complementary
#7742D2 #D2BF42 #55D242
monochromatic
#401E7C #5A29AD #7742D2 #9B73DE #BEA5EA

Accessibility & contrast

On white

6.01
#7742D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7742D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742D2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742D2#FFFFFF#000000##FFFFFF
##7742D21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#5E6585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7742d2;
/* rgb */ color: rgb(119, 66, 210);
/* oklch */ color: oklch(52.3% 0.209 295.0);
Tailwind
colors: {
  custom: {
    50: '#a57ae1',
    500: '#7742d2',
    950: '#000000',
  },
}
SCSS
$custom: #7742d2;
$custom-light: #a57ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7742d2",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 262.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.20857,
    "h": 295
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#7742D2
secondary
#C0D799
accent
#E543A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742D2

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

Preview Lab → · Contrast checker → · Palette generator →

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