#7740CC#7740CC

#7740CC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.204 H 296.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7740CC
RGBrgb(119, 64, 204)
HSLhsl(264, 58%, 53%)
HSVhsv(264, 69%, 80%)
CMYKcmyk(41.7%, 68.6%, 0%, 20%)
CIE-LABlab(41.13, 52.79, -63.95)
CIE-LCHlch(41.13, 82.92, 309.54°)
OKLaboklab(51.58% 0.0912 -0.1827)
OKLCHoklch(51.58% 0.204 296.5)
XYZxyz(20.3374, 11.9480, 58.3497)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740CC #95CC40
analogous
#404FCC #7740CC #BD40CC
triadic
#7740CC #CC7740 #40CC77
tetradic
#7740CC #CC404F #95CC40 #40CCBD
square
#7740CC #CC404F #95CC40 #40CCBD
split-complementary
#7740CC #CCBD40 #4FCC40
monochromatic
#401F73 #5B2CA3 #7740CC #9970D9 #BCA1E6

Accessibility & contrast

On white

6.20
#7740CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7740CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740CC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740CC#FFFFFF#000000##FFFFFF
##7740CC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#616281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7740cc;
/* rgb */ color: rgb(119, 64, 204);
/* oklch */ color: oklch(51.6% 0.204 296.5);
Tailwind
colors: {
  custom: {
    50: '#a579dc',
    500: '#7740cc',
    950: '#000000',
  },
}
SCSS
$custom: #7740cc;
$custom-light: #a579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7740cc",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 263.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.20421,
    "h": 296.5
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#7740CC
secondary
#BAD295
accent
#E147A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7740CC

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

Preview Lab → · Contrast checker → · Palette generator →

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