#7740BF#7740BF

#7740BF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.190 H 299.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7740BF
RGBrgb(119, 64, 191)
HSLhsl(266, 50%, 50%)
HSVhsv(266, 66%, 75%)
CMYKcmyk(37.7%, 66.5%, 0%, 25.1%)
CIE-LABlab(40.16, 49.46, -57.96)
CIE-LCHlch(40.16, 76.19, 310.48°)
OKLaboklab(50.58% 0.093 -0.1651)
OKLCHoklch(50.58% 0.19 299.4)
XYZxyz(18.8428, 11.3501, 50.4782)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740BF #88BF40
analogous
#4049BF #7740BF #B640BF
triadic
#7740BF #BF7740 #40BF77
tetradic
#7740BF #BF4049 #88BF40 #40BFB6
square
#7740BF #BF4049 #88BF40 #40BFB6
split-complementary
#7740BF #BFB640 #49BF40
monochromatic
#3E2163 #5A3191 #7740BF #986ECE #B89CDE

Accessibility & contrast

On white

6.42
#7740BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7740BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740BF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740BF#FFFFFF#000000##FFFFFF
##7740BF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#675D7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7740bf;
/* rgb */ color: rgb(119, 64, 191);
/* oklch */ color: oklch(50.6% 0.190 299.4);
Tailwind
colors: {
  custom: {
    50: '#a478d3',
    500: '#7740bf',
    950: '#000000',
  },
}
SCSS
$custom: #7740bf;
$custom-light: #a478d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7740bf",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 265.984,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.18951,
    "h": 299.4
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#7740BF
secondary
#B1CA91
accent
#D94E9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7740BF

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

Preview Lab → · Contrast checker → · Palette generator →

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