#7959F2#7959F2
#7959F2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.218 H 287.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7959F2 |
|---|---|
| RGB | rgb(121, 89, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 63%, 95%) |
| CMYK | cmyk(50%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(49.03, 50.31, -72.71) |
| CIE-LCH | lch(49.03, 88.42, 304.68°) |
| OKLab | oklab(58.21% 0.0644 -0.2084) |
| OKLCH | oklch(58.21% 0.218 287.2) |
| XYZ | xyz(27.4798, 17.6192, 85.9401) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 5.79
Purpleish Blue
#6140EF
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7959F2 #D2F259
analogous
#5986F2 #7959F2 #C659F2
triadic
#7959F2 #F27959 #59F279
tetradic
#7959F2 #F25986 #D2F259 #59F2C6
square
#7959F2 #F25986 #D2F259 #59F2C6
split-complementary
#7959F2 #F2C659 #86F259
monochromatic
#340FC1 #4B20EE #7959F2 #A792F6 #D5CBFB
Accessibility & contrast
On white
4.64
#7959F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#7959F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7959F2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7959F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7959F2 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#4D7E9E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7959f2; /* rgb */ color: rgb(121, 89, 242); /* oklch */ color: oklch(58.2% 0.218 287.2);
Tailwind
colors: {
custom: {
50: '#a98af7',
500: '#7959f2',
950: '#000000',
},
}SCSS
$custom: #7959f2; $custom-light: #a98af7; $custom-dark: #000000;
JSON
{
"hex": "#7959f2",
"rgb": {
"r": 121,
"g": 89,
"b": 242
},
"hsl": {
"h": 252.549,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.58205,
"c": 0.21818,
"h": 287.2
},
"luminance": 0.17621
}Semantic roles & 50–950 ramp
primary
#7959F2
secondary
#E3EDB9
accent
#E204B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85