#7740C8#7740C8

#7740C8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.200 H 297.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7740C8
RGBrgb(119, 64, 200)
HSLhsl(264, 55%, 52%)
HSVhsv(264, 68%, 78%)
CMYKcmyk(40.5%, 68%, 0%, 21.6%)
CIE-LABlab(40.83, 51.76, -62.12)
CIE-LCHlch(40.83, 80.86, 309.80°)
OKLaboklab(51.27% 0.0918 -0.1773)
OKLCHoklch(51.27% 0.2 297.4)
XYZxyz(19.8638, 11.7585, 55.8555)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740C8 #91C840
analogous
#404DC8 #7740C8 #BB40C8
triadic
#7740C8 #C87740 #40C877
tetradic
#7740C8 #C8404D #91C840 #40C8BB
square
#7740C8 #C8404D #91C840 #40C8BB
split-complementary
#7740C8 #C8BB40 #4DC840
monochromatic
#3F206E #5B2D9D #7740C8 #9970D6 #BB9FE3

Accessibility & contrast

On white

6.27
#7740C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7740C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740C8#FFFFFF#000000##FFFFFF
##7740C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#63617F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7740c8;
/* rgb */ color: rgb(119, 64, 200);
/* oklch */ color: oklch(51.3% 0.200 297.4);
Tailwind
colors: {
  custom: {
    50: '#a479da',
    500: '#7740c8',
    950: '#000000',
  },
}
SCSS
$custom: #7740c8;
$custom-light: #a479da;
$custom-dark: #000000;
JSON
{
  "hex": "#7740c8",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 264.265,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.19971,
    "h": 297.4
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#7740C8
secondary
#B8D094
accent
#DF49A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7740C8

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

Preview Lab → · Contrast checker → · Palette generator →

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