#7740D3#7740D3

#7740D3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.212 H 295.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7740D3
RGBrgb(119, 64, 211)
HSLhsl(262, 63%, 54%)
HSVhsv(262, 70%, 83%)
CMYKcmyk(43.6%, 69.7%, 0%, 17.3%)
CIE-LABlab(41.68, 54.61, -67.10)
CIE-LCHlch(41.68, 86.51, 309.14°)
OKLaboklab(52.13% 0.09 -0.192)
OKLCHoklch(52.13% 0.212 295.1)
XYZxyz(21.1959, 12.2913, 62.8711)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740D3 #9CD340
analogous
#4053D3 #7740D3 #C140D3
triadic
#7740D3 #D37740 #40D377
tetradic
#7740D3 #D34053 #9CD340 #40D3C1
square
#7740D3 #D34053 #9CD340 #40D3C1
split-complementary
#7740D3 #D3C140 #53D340
monochromatic
#401D7C #5A28AE #7740D3 #9A72DE #BEA3EA

Accessibility & contrast

On white

6.07
#7740D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7740D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740D3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740D3#FFFFFF#000000##FFFFFF
##7740D31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#5E6585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7740d3;
/* rgb */ color: rgb(119, 64, 211);
/* oklch */ color: oklch(52.1% 0.212 295.1);
Tailwind
colors: {
  custom: {
    50: '#a679e2',
    500: '#7740d3',
    950: '#000000',
  },
}
SCSS
$custom: #7740d3;
$custom-light: #a679e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7740d3",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 262.449,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.21205,
    "h": 295.1
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#7740D3
secondary
#BFD798
accent
#E642A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7740D3

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

Preview Lab → · Contrast checker → · Palette generator →

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