#7948E2#7948E2
#7948E2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.220 H 292.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7948E2 |
|---|---|
| RGB | rgb(121, 72, 226) |
| HSL | hsl(259, 73%, 58%) |
| HSV | hsv(259, 68%, 89%) |
| CMYK | cmyk(46.5%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(44.50, 54.91, -71.06) |
| CIE-LCH | lch(44.50, 89.80, 307.70°) |
| OKLab | oklab(54.57% 0.0827 -0.2036) |
| OKLCH | oklch(54.57% 0.22 292.1) |
| XYZ | xyz(23.9262, 14.1898, 73.4150) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.11
Purpleish Blue
#6140EF
ΔE00 4.07
Purpley
#8756E4
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 5.19
Burple
#6832E3
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7948E2 #B1E248
analogous
#4864E2 #7948E2 #C648E2
triadic
#7948E2 #E27948 #48E279
tetradic
#7948E2 #E24864 #B1E248 #48E2C6
square
#7948E2 #E24864 #B1E248 #48E2C6
split-complementary
#7948E2 #E2C648 #64E248
monochromatic
#411898 #5720CC #7948E2 #A07DEA #C6B2F3
Accessibility & contrast
On white
5.47
#7948E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7948E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7948E2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7948E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7948E2 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#596F90
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7948e2; /* rgb */ color: rgb(121, 72, 226); /* oklch */ color: oklch(54.6% 0.220 292.1);
Tailwind
colors: {
custom: {
50: '#a87eec',
500: '#7948e2',
950: '#000000',
},
}SCSS
$custom: #7948e2; $custom-light: #a87eec; $custom-dark: #000000;
JSON
{
"hex": "#7948e2",
"rgb": {
"r": 121,
"g": 72,
"b": 226
},
"hsl": {
"h": 259.091,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.54565,
"c": 0.21974,
"h": 292.1
},
"luminance": 0.14191
}Semantic roles & 50–950 ramp
primary
#7948E2
secondary
#CEE1A4
accent
#EF38B5
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84