#7742BB#7742BB

#7742BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.182 H 300.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7742BB
RGBrgb(119, 66, 187)
HSLhsl(266, 48%, 50%)
HSVhsv(266, 65%, 73%)
CMYKcmyk(36.4%, 64.7%, 0%, 26.7%)
CIE-LABlab(40.26, 47.40, -55.46)
CIE-LCHlch(40.26, 72.96, 310.52°)
OKLaboklab(50.55% 0.0912 -0.1578)
OKLCHoklch(50.55% 0.182 300)
XYZxyz(18.5234, 11.4061, 48.2298)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742BB #86BB42
analogous
#424ABB #7742BB #B442BB
triadic
#7742BB #BB7742 #42BB77
tetradic
#7742BB #BB424A #86BB42 #42BBB4
square
#7742BB #BB424A #86BB42 #42BBB4
split-complementary
#7742BB #BBB442 #4ABB42
monochromatic
#3D2261 #5A328E #7742BB #976ECC #B89CDC

Accessibility & contrast

On white

6.40
#7742BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7742BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742BB#FFFFFF#000000##FFFFFF
##7742BB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#685D79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7742bb;
/* rgb */ color: rgb(119, 66, 187);
/* oklch */ color: oklch(50.6% 0.182 300.0);
Tailwind
colors: {
  custom: {
    50: '#a379d0',
    500: '#7742bb',
    950: '#000000',
  },
}
SCSS
$custom: #7742bb;
$custom-light: #a379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7742bb",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 266.281,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.18226,
    "h": 300
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#7742BB
secondary
#B0C891
accent
#D7509C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7742BB

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

Preview Lab → · Contrast checker → · Palette generator →

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