#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 |
|---|---|
| RGB | rgb(119, 64, 200) |
| HSL | hsl(264, 55%, 52%) |
| HSV | hsv(264, 68%, 78%) |
| CMYK | cmyk(40.5%, 68%, 0%, 21.6%) |
| CIE-LAB | lab(40.83, 51.76, -62.12) |
| CIE-LCH | lch(40.83, 80.86, 309.80°) |
| OKLab | oklab(51.27% 0.0918 -0.1773) |
| OKLCH | oklch(51.27% 0.2 297.4) |
| XYZ | xyz(19.8638, 11.7585, 55.8555) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.59
Bluish Purple
#703BE7
ΔE00 4.30
Blueviolet
#8A2BE2
ΔE00 4.79
Burple
#6832E3
ΔE00 4.84
Purpley Blue
#5F34E7
ΔE00 5.71
Blurple
#5539CC
ΔE00 5.72
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 |
|---|---|---|---|---|
| ##7740C8 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.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