#7742BF#7742BF

#7742BF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.187 H 299.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7742BF
RGBrgb(119, 66, 191)
HSLhsl(265, 49%, 50%)
HSVhsv(265, 65%, 75%)
CMYKcmyk(37.7%, 65.4%, 0%, 25.1%)
CIE-LABlab(40.54, 48.43, -57.35)
CIE-LCHlch(40.54, 75.06, 310.18°)
OKLaboklab(50.85% 0.0908 -0.1633)
OKLCHoklch(50.85% 0.187 299.1)
XYZxyz(18.9576, 11.5797, 50.5164)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742BF #8ABF42
analogous
#424BBF #7742BF #B542BF
triadic
#7742BF #BF7742 #42BF77
tetradic
#7742BF #BF424B #8ABF42 #42BFB5
square
#7742BF #BF424B #8ABF42 #42BFB5
split-complementary
#7742BF #BFB542 #4BBF42
monochromatic
#3E2265 #5B3292 #7742BF #9870CE #B99DDE

Accessibility & contrast

On white

6.33
#7742BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7742BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742BF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742BF#FFFFFF#000000##FFFFFF
##7742BF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#675E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7742bf;
/* rgb */ color: rgb(119, 66, 191);
/* oklch */ color: oklch(50.8% 0.187 299.1);
Tailwind
colors: {
  custom: {
    50: '#a37ad3',
    500: '#7742bf',
    950: '#000000',
  },
}
SCSS
$custom: #7742bf;
$custom-light: #a37ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7742bf",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 265.44,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.18688,
    "h": 299.1
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#7742BF
secondary
#B3CA93
accent
#D94F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7742BF

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

Preview Lab → · Contrast checker → · Palette generator →

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