#7957DD#7957DD
#7957DD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.195 H 290.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7957DD |
|---|---|
| RGB | rgb(121, 87, 221) |
| HSL | hsl(255, 66%, 60%) |
| HSV | hsv(255, 61%, 87%) |
| CMYK | cmyk(45.2%, 60.6%, 0%, 13.3%) |
| CIE-LAB | lab(47.11, 45.51, -63.99) |
| CIE-LCH | lch(47.11, 78.52, 305.42°) |
| OKLab | oklab(56.33% 0.0681 -0.1828) |
| OKLCH | oklch(56.33% 0.195 290.4) |
| XYZ | xyz(24.3408, 16.1009, 70.2179) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.62
Light Indigo
#6D5ACF
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.59
Dark Periwinkle
#665FD1
ΔE00 4.57
Iris
#6258C4
ΔE00 5.43
Mediumslateblue
#7B68EE
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7957DD #BBDD57
analogous
#5778DD #7957DD #BC57DD
triadic
#7957DD #DD7957 #57DD79
tetradic
#7957DD #DD5778 #BBDD57 #57DDBC
square
#7957DD #DD5778 #BBDD57 #57DDBC
split-complementary
#7957DD #DDBC57 #78DD57
monochromatic
#3E1F9A #532ACD #7957DD #A28AE7 #CABDF2
Accessibility & contrast
On white
4.98
#7957DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7957DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7957DD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7957DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7957DD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#5B7692
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7957dd; /* rgb */ color: rgb(121, 87, 221); /* oklch */ color: oklch(56.3% 0.195 290.4);
Tailwind
colors: {
custom: {
50: '#a788e8',
500: '#7957dd',
950: '#000000',
},
}SCSS
$custom: #7957dd; $custom-light: #a788e8; $custom-dark: #000000;
JSON
{
"hex": "#7957dd",
"rgb": {
"r": 121,
"g": 87,
"b": 221
},
"hsl": {
"h": 255.224,
"s": 66.337,
"l": 60.392
},
"oklch": {
"l": 0.5633,
"c": 0.19507,
"h": 290.4
},
"luminance": 0.16102
}Semantic roles & 50–950 ramp
primary
#7957DD
secondary
#D5E1AE
accent
#CE17A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84