#7740C0#7740C0

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

Color values

HEX#7740C0
RGBrgb(119, 64, 192)
HSLhsl(266, 50%, 50%)
HSVhsv(266, 67%, 75%)
CMYKcmyk(38%, 66.7%, 0%, 24.7%)
CIE-LABlab(40.24, 49.71, -58.42)
CIE-LCHlch(40.24, 76.71, 310.40°)
OKLaboklab(50.65% 0.0929 -0.1665)
OKLCHoklch(50.65% 0.191 299.2)
XYZxyz(18.9532, 11.3943, 51.0597)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740C0 #89C040
analogous
#4049C0 #7740C0 #B740C0
triadic
#7740C0 #C07740 #40C077
tetradic
#7740C0 #C04049 #89C040 #40C0B7
square
#7740C0 #C04049 #89C040 #40C0B7
split-complementary
#7740C0 #C0B740 #49C040
monochromatic
#3E2164 #5A3092 #7740C0 #986ECF #B99CDE

Accessibility & contrast

On white

6.40
#7740C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7740C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740C0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740C0#FFFFFF#000000##FFFFFF
##7740C01.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)
#005FC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#665E7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7740c0;
/* rgb */ color: rgb(119, 64, 192);
/* oklch */ color: oklch(50.7% 0.191 299.2);
Tailwind
colors: {
  custom: {
    50: '#a478d4',
    500: '#7740c0',
    950: '#000000',
  },
}
SCSS
$custom: #7740c0;
$custom-light: #a478d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7740c0",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 265.781,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.19064,
    "h": 299.2
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#7740C0
secondary
#B2CB91
accent
#DA4E9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7740C0

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

Preview Lab → · Contrast checker → · Palette generator →

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