#7757DC#7757DC
#7757DC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.194 H 289.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7757DC |
|---|---|
| RGB | rgb(119, 87, 220) |
| HSL | hsl(254, 66%, 60%) |
| HSV | hsv(254, 60%, 86%) |
| CMYK | cmyk(45.9%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.85, 44.82, -63.85) |
| CIE-LCH | lch(46.85, 78.01, 305.07°) |
| OKLab | oklab(56.08% 0.0655 -0.1824) |
| OKLCH | oklch(56.08% 0.194 289.8) |
| XYZ | xyz(23.9306, 15.9047, 69.5053) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.67
Purpley
#8756E4
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.25
Dark Periwinkle
#665FD1
ΔE00 4.27
Iris
#6258C4
ΔE00 5.08
Mediumslateblue
#7B68EE
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7757DC #BCDC57
analogous
#577ADC #7757DC #B957DC
triadic
#7757DC #DC7757 #57DC77
tetradic
#7757DC #DC577A #BCDC57 #57DCB9
square
#7757DC #DC577A #BCDC57 #57DCB9
split-complementary
#7757DC #DCB957 #7ADC57
monochromatic
#3D2099 #512ACB #7757DC #A08AE7 #C9BCF1
Accessibility & contrast
On white
5.02
#7757DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7757DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7757DC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7757DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7757DC | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#577691
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7757dc; /* rgb */ color: rgb(119, 87, 220); /* oklch */ color: oklch(56.1% 0.194 289.8);
Tailwind
colors: {
custom: {
50: '#a588e8',
500: '#7757dc',
950: '#000000',
},
}SCSS
$custom: #7757dc; $custom-light: #a588e8; $custom-dark: #000000;
JSON
{
"hex": "#7757dc",
"rgb": {
"r": 119,
"g": 87,
"b": 220
},
"hsl": {
"h": 254.436,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.56075,
"c": 0.19386,
"h": 289.8
},
"luminance": 0.15906
}Semantic roles & 50–950 ramp
primary
#7757DC
secondary
#D5E1AE
accent
#CD18A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84