#7742BC#7742BC

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

Color values

HEX#7742BC
RGBrgb(119, 66, 188)
HSLhsl(266, 48%, 50%)
HSVhsv(266, 65%, 74%)
CMYKcmyk(36.7%, 64.9%, 0%, 26.3%)
CIE-LABlab(40.33, 47.66, -55.94)
CIE-LCHlch(40.33, 73.49, 310.43°)
OKLaboklab(50.63% 0.0911 -0.1592)
OKLCHoklch(50.63% 0.183 299.8)
XYZxyz(18.6308, 11.4490, 48.7955)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742BC #87BC42
analogous
#424ABC #7742BC #B442BC
triadic
#7742BC #BC7742 #42BC77
tetradic
#7742BC #BC424A #87BC42 #42BCB4
square
#7742BC #BC424A #87BC42 #42BCB4
split-complementary
#7742BC #BCB442 #4ABC42
monochromatic
#3E2261 #5A328F #7742BC #976FCC #B89CDC

Accessibility & contrast

On white

6.38
#7742BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7742BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742BC#FFFFFF#000000##FFFFFF
##7742BC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#685D79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7742bc;
/* rgb */ color: rgb(119, 66, 188);
/* oklch */ color: oklch(50.6% 0.183 299.8);
Tailwind
colors: {
  custom: {
    50: '#a37ad1',
    500: '#7742bc',
    950: '#000000',
  },
}
SCSS
$custom: #7742bc;
$custom-light: #a37ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7742bc",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 266.066,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.18342,
    "h": 299.8
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#7742BC
secondary
#B1C991
accent
#D8509D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7742BC

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

Preview Lab → · Contrast checker → · Palette generator →

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