#7955F6#7955F6
#7955F6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.228 H 287.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7955F6 |
|---|---|
| RGB | rgb(121, 85, 246) |
| HSL | hsl(253, 90%, 65%) |
| HSV | hsv(253, 65%, 96%) |
| CMYK | cmyk(50.8%, 65.4%, 0%, 3.5%) |
| CIE-LAB | lab(48.53, 53.61, -75.76) |
| CIE-LCH | lch(48.53, 92.81, 305.28°) |
| OKLab | oklab(57.94% 0.0678 -0.2174) |
| OKLCH | oklch(57.94% 0.228 287.3) |
| XYZ | xyz(27.7633, 17.2144, 89.0307) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.36
Mediumslateblue
#7B68EE
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.68
Slate Blue
#6A5ACD
ΔE00 6.15
Dark Periwinkle
#665FD1
ΔE00 6.42
Purpleish Blue
#6140EF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7955F6 #D2F655
analogous
#5582F6 #7955F6 #C955F6
triadic
#7955F6 #F67955 #55F679
tetradic
#7955F6 #F65582 #D2F655 #55F6C9
square
#7955F6 #F65582 #D2F655 #55F6C9
split-complementary
#7955F6 #F6C955 #82F655
monochromatic
#340AC6 #4B1BF3 #7955F6 #A78FF9 #D5C9FC
Accessibility & contrast
On white
4.73
#7955F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7955F6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7955F6
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7955F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7955F6 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#4A7D9E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7955f6; /* rgb */ color: rgb(121, 85, 246); /* oklch */ color: oklch(57.9% 0.228 287.3);
Tailwind
colors: {
custom: {
50: '#aa87fa',
500: '#7955f6',
950: '#000000',
},
}SCSS
$custom: #7955f6; $custom-light: #aa87fa; $custom-dark: #000000;
JSON
{
"hex": "#7955f6",
"rgb": {
"r": 121,
"g": 85,
"b": 246
},
"hsl": {
"h": 253.416,
"s": 89.944,
"l": 64.902
},
"oklch": {
"l": 0.57936,
"c": 0.22773,
"h": 287.3
},
"luminance": 0.17216
}Semantic roles & 50–950 ramp
primary
#7955F6
secondary
#E3EFB8
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85