#7742E2#7742E2

#7742E2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.226 H 292.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7742E2
RGBrgb(119, 66, 226)
HSLhsl(260, 73%, 57%)
HSVhsv(260, 71%, 89%)
CMYKcmyk(47.3%, 70.8%, 0%, 11.4%)
CIE-LABlab(43.22, 57.56, -73.16)
CIE-LCHlch(43.22, 93.09, 308.19°)
OKLaboklab(53.61% 0.0854 -0.2098)
OKLCHoklch(53.61% 0.226 292.1)
XYZxyz(23.2796, 13.3085, 73.2790)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742E2 #ADE242
analogous
#425DE2 #7742E2 #C742E2
triadic
#7742E2 #E27742 #42E277
tetradic
#7742E2 #E2425D #ADE242 #42E2C7
square
#7742E2 #E2425D #ADE242 #42E2C7
split-complementary
#7742E2 #E2C742 #5DE242
monochromatic
#401793 #571FC8 #7742E2 #9D77EA #C3ACF2

Accessibility & contrast

On white

5.73
#7742E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7742E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742E2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742E2#FFFFFF#000000##FFFFFF
##7742E21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#556C8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7742e2;
/* rgb */ color: rgb(119, 66, 226);
/* oklch */ color: oklch(53.6% 0.226 292.1);
Tailwind
colors: {
  custom: {
    50: '#a77bec',
    500: '#7742e2',
    950: '#000000',
  },
}
SCSS
$custom: #7742e2;
$custom-light: #a77bec;
$custom-dark: #000000;
JSON
{
  "hex": "#7742e2",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 259.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.22648,
    "h": 292.1
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#7742E2
secondary
#CBE09F
accent
#F038B3
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7742E2

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

Preview Lab → · Contrast checker → · Palette generator →

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