#7740CA#7740CA

#7740CA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.202 H 296.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7740CA
RGBrgb(119, 64, 202)
HSLhsl(264, 57%, 52%)
HSVhsv(264, 68%, 79%)
CMYKcmyk(41.1%, 68.3%, 0%, 20.8%)
CIE-LABlab(40.98, 52.28, -63.03)
CIE-LCHlch(40.98, 81.89, 309.67°)
OKLaboklab(51.42% 0.0915 -0.18)
OKLCHoklch(51.42% 0.202 296.9)
XYZxyz(20.0990, 11.8526, 57.0945)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740CA #93CA40
analogous
#404ECA #7740CA #BC40CA
triadic
#7740CA #CA7740 #40CA77
tetradic
#7740CA #CA404E #93CA40 #40CABC
square
#7740CA #CA404E #93CA40 #40CABC
split-complementary
#7740CA #CABC40 #4ECA40
monochromatic
#401F70 #5B2CA0 #7740CA #9970D7 #BBA0E5

Accessibility & contrast

On white

6.23
#7740CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7740CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740CA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740CA#FFFFFF#000000##FFFFFF
##7740CA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#626180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7740ca;
/* rgb */ color: rgb(119, 64, 202);
/* oklch */ color: oklch(51.4% 0.202 296.9);
Tailwind
colors: {
  custom: {
    50: '#a579db',
    500: '#7740ca',
    950: '#000000',
  },
}
SCSS
$custom: #7740ca;
$custom-light: #a579db;
$custom-dark: #000000;
JSON
{
  "hex": "#7740ca",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 263.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.20196,
    "h": 296.9
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#7740CA
secondary
#B9D195
accent
#E048A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7740CA

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

Preview Lab → · Contrast checker → · Palette generator →

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