#7740C0#7740C0
#7740C0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.191 H 299.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7740C0 |
|---|---|
| RGB | rgb(119, 64, 192) |
| HSL | hsl(266, 50%, 50%) |
| HSV | hsv(266, 67%, 75%) |
| CMYK | cmyk(38%, 66.7%, 0%, 24.7%) |
| CIE-LAB | lab(40.24, 49.71, -58.42) |
| CIE-LCH | lch(40.24, 76.71, 310.40°) |
| OKLab | oklab(50.65% 0.0929 -0.1665) |
| OKLCH | oklch(50.65% 0.191 299.2) |
| XYZ | xyz(18.9532, 11.3943, 51.0597) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 5.45
Blueviolet
#8A2BE2
ΔE00 5.54
Burple
#6832E3
ΔE00 5.75
Royal Purple
#7851A9
ΔE00 6.02
Darkorchid
#9932CC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7740C0 #89C040
analogous
#4049C0 #7740C0 #B740C0
triadic
#7740C0 #C07740 #40C077
tetradic
#7740C0 #C04049 #89C040 #40C0B7
square
#7740C0 #C04049 #89C040 #40C0B7
split-complementary
#7740C0 #C0B740 #49C040
monochromatic
#3E2164 #5A3092 #7740C0 #986ECF #B99CDE
Accessibility & contrast
On white
6.40
#7740C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#7740C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7740C0
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7740C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7740C0 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#665E7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7740c0; /* rgb */ color: rgb(119, 64, 192); /* oklch */ color: oklch(50.7% 0.191 299.2);
Tailwind
colors: {
custom: {
50: '#a478d4',
500: '#7740c0',
950: '#000000',
},
}SCSS
$custom: #7740c0; $custom-light: #a478d4; $custom-dark: #000000;
JSON
{
"hex": "#7740c0",
"rgb": {
"r": 119,
"g": 64,
"b": 192
},
"hsl": {
"h": 265.781,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.50654,
"c": 0.19064,
"h": 299.2
},
"luminance": 0.11395
}Semantic roles & 50–950 ramp
primary
#7740C0
secondary
#B2CB91
accent
#DA4E9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83