#7957DE#7957DE
#7957DE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.196 H 290.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7957DE |
|---|---|
| RGB | rgb(121, 87, 222) |
| HSL | hsl(255, 67%, 61%) |
| HSV | hsv(255, 61%, 87%) |
| CMYK | cmyk(45.5%, 60.8%, 0%, 12.9%) |
| CIE-LAB | lab(47.18, 45.79, -64.44) |
| CIE-LCH | lch(47.18, 79.05, 305.39°) |
| OKLab | oklab(56.4% 0.068 -0.1841) |
| OKLCH | oklch(56.4% 0.196 290.3) |
| XYZ | xyz(24.4745, 16.1544, 70.9216) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.58
Light Indigo
#6D5ACF
ΔE00 3.08
Slate Blue
#6A5ACD
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 4.61
Iris
#6258C4
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7957DE #BCDE57
analogous
#5778DE #7957DE #BC57DE
triadic
#7957DE #DE7957 #57DE79
tetradic
#7957DE #DE5778 #BCDE57 #57DEBC
square
#7957DE #DE5778 #BCDE57 #57DEBC
split-complementary
#7957DE #DEBC57 #78DE57
monochromatic
#3E1F9C #5329CF #7957DE #A28AE8 #CBBDF2
Accessibility & contrast
On white
4.96
#7957DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7957DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7957DE
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7957DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7957DE | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#5A7692
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7957de; /* rgb */ color: rgb(121, 87, 222); /* oklch */ color: oklch(56.4% 0.196 290.3);
Tailwind
colors: {
custom: {
50: '#a788e9',
500: '#7957de',
950: '#000000',
},
}SCSS
$custom: #7957de; $custom-light: #a788e9; $custom-dark: #000000;
JSON
{
"hex": "#7957de",
"rgb": {
"r": 121,
"g": 87,
"b": 222
},
"hsl": {
"h": 255.111,
"s": 67.164,
"l": 60.588
},
"oklch": {
"l": 0.56403,
"c": 0.1963,
"h": 290.3
},
"luminance": 0.16155
}Semantic roles & 50–950 ramp
primary
#7957DE
secondary
#D5E2AF
accent
#CF16A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84