#7740D2#7740D2

#7740D2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.211 H 295.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7740D2
RGBrgb(119, 64, 210)
HSLhsl(263, 62%, 54%)
HSVhsv(263, 70%, 82%)
CMYKcmyk(43.3%, 69.5%, 0%, 17.6%)
CIE-LABlab(41.60, 54.35, -66.65)
CIE-LCHlch(41.60, 86.00, 309.19°)
OKLaboklab(52.05% 0.0902 -0.1907)
OKLCHoklch(52.05% 0.211 295.3)
XYZxyz(21.0709, 12.2414, 62.2129)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740D2 #9BD240
analogous
#4052D2 #7740D2 #C040D2
triadic
#7740D2 #D27740 #40D277
tetradic
#7740D2 #D24052 #9BD240 #40D2C0
square
#7740D2 #D24052 #9BD240 #40D2C0
split-complementary
#7740D2 #D2C040 #52D240
monochromatic
#401D7B #5A29AC #7740D2 #9A72DE #BEA3E9

Accessibility & contrast

On white

6.09
#7740D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7740D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740D2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740D2#FFFFFF#000000##FFFFFF
##7740D21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#5E6484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7740d2;
/* rgb */ color: rgb(119, 64, 210);
/* oklch */ color: oklch(52.1% 0.211 295.3);
Tailwind
colors: {
  custom: {
    50: '#a579e1',
    500: '#7740d2',
    950: '#000000',
  },
}
SCSS
$custom: #7740d2;
$custom-light: #a579e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7740d2",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 262.603,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.21093,
    "h": 295.3
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#7740D2
secondary
#BFD698
accent
#E543A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7740D2

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

Preview Lab → · Contrast checker → · Palette generator →

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