#7740C1#7740C1

#7740C1 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.192 H 298.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7740C1
RGBrgb(119, 64, 193)
HSLhsl(266, 51%, 50%)
HSVhsv(266, 67%, 76%)
CMYKcmyk(38.3%, 66.8%, 0%, 24.3%)
CIE-LABlab(40.31, 49.97, -58.89)
CIE-LCHlch(40.31, 77.23, 310.32°)
OKLaboklab(50.73% 0.0928 -0.1678)
OKLCHoklch(50.73% 0.192 298.9)
XYZxyz(19.0644, 11.4388, 51.6452)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740C1 #8AC140
analogous
#404AC1 #7740C1 #B740C1
triadic
#7740C1 #C17740 #40C177
tetradic
#7740C1 #C1404A #8AC140 #40C1B7
square
#7740C1 #C1404A #8AC140 #40C1B7
split-complementary
#7740C1 #C1B740 #4AC140
monochromatic
#3E2166 #5B3094 #7740C1 #986ED0 #B99CDF

Accessibility & contrast

On white

6.39
#7740C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7740C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740C1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740C1#FFFFFF#000000##FFFFFF
##7740C11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#665E7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7740c1;
/* rgb */ color: rgb(119, 64, 193);
/* oklch */ color: oklch(50.7% 0.192 298.9);
Tailwind
colors: {
  custom: {
    50: '#a478d5',
    500: '#7740c1',
    950: '#000000',
  },
}
SCSS
$custom: #7740c1;
$custom-light: #a478d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7740c1",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 265.581,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.19178,
    "h": 298.9
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#7740C1
secondary
#B3CB92
accent
#DA4D9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7740C1

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

Preview Lab → · Contrast checker → · Palette generator →

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