#7957DC#7957DC
#7957DC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.194 H 290.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7957DC |
|---|---|
| RGB | rgb(121, 87, 220) |
| HSL | hsl(255, 66%, 60%) |
| HSV | hsv(255, 60%, 86%) |
| CMYK | cmyk(45%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(47.04, 45.23, -63.53) |
| CIE-LCH | lch(47.04, 77.99, 305.45°) |
| OKLab | oklab(56.26% 0.0681 -0.1815) |
| OKLCH | oklch(56.26% 0.194 290.6) |
| XYZ | xyz(24.2080, 16.0478, 69.5183) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.67
Light Indigo
#6D5ACF
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.51
Dark Periwinkle
#665FD1
ΔE00 4.54
Iris
#6258C4
ΔE00 5.35
Mediumslateblue
#7B68EE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7957DC #BADC57
analogous
#5778DC #7957DC #BB57DC
triadic
#7957DC #DC7957 #57DC79
tetradic
#7957DC #DC5778 #BADC57 #57DCBB
square
#7957DC #DC5778 #BADC57 #57DCBB
split-complementary
#7957DC #DCBB57 #78DC57
monochromatic
#3F2099 #542ACB #7957DC #A18AE7 #CABCF1
Accessibility & contrast
On white
4.99
#7957DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7957DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7957DC
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7957DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7957DC | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#5B7591
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7957dc; /* rgb */ color: rgb(121, 87, 220); /* oklch */ color: oklch(56.3% 0.194 290.6);
Tailwind
colors: {
custom: {
50: '#a688e8',
500: '#7957dc',
950: '#000000',
},
}SCSS
$custom: #7957dc; $custom-light: #a688e8; $custom-dark: #000000;
JSON
{
"hex": "#7957dc",
"rgb": {
"r": 121,
"g": 87,
"b": 220
},
"hsl": {
"h": 255.338,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.56257,
"c": 0.19383,
"h": 290.6
},
"luminance": 0.16049
}Semantic roles & 50–950 ramp
primary
#7957DC
secondary
#D4E1AE
accent
#CD189F
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84