#7952F3#7952F3
#7952F3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.228 H 288.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7952F3 |
|---|---|
| RGB | rgb(121, 82, 243) |
| HSL | hsl(255, 87%, 64%) |
| HSV | hsv(255, 66%, 95%) |
| CMYK | cmyk(50.2%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(47.71, 54.37, -75.42) |
| CIE-LCH | lch(47.71, 92.97, 305.79°) |
| OKLab | oklab(57.28% 0.0709 -0.2164) |
| OKLCH | oklch(57.28% 0.228 288.1) |
| XYZ | xyz(27.0754, 16.5693, 86.5482) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.21
Light Indigo
#6D5ACF
ΔE00 5.47
Purpleish Blue
#6140EF
ΔE00 5.74
Mediumslateblue
#7B68EE
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 5.94
Bluish Purple
#703BE7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952F3 #CCF352
analogous
#527BF3 #7952F3 #C952F3
triadic
#7952F3 #F37952 #52F379
tetradic
#7952F3 #F3527B #CCF352 #52F3C9
square
#7952F3 #F3527B #CCF352 #52F3C9
split-complementary
#7952F3 #F3C952 #7BF352
monochromatic
#380DBD #4D19EF #7952F3 #A58BF7 #D2C4FB
Accessibility & contrast
On white
4.87
#7952F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7952F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952F3
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952F3 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#4D7A9C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7952f3; /* rgb */ color: rgb(121, 82, 243); /* oklch */ color: oklch(57.3% 0.228 288.1);
Tailwind
colors: {
custom: {
50: '#a985f8',
500: '#7952f3',
950: '#000000',
},
}SCSS
$custom: #7952f3; $custom-light: #a985f8; $custom-dark: #000000;
JSON
{
"hex": "#7952f3",
"rgb": {
"r": 121,
"g": 82,
"b": 243
},
"hsl": {
"h": 254.534,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.57277,
"c": 0.22772,
"h": 288.1
},
"luminance": 0.16571
}Semantic roles & 50–950 ramp
primary
#7952F3
secondary
#DFEDB4
accent
#E402AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85