#7948CE#7948CE
#7948CE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.197 H 295.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7948CE |
|---|---|
| RGB | rgb(121, 72, 206) |
| HSL | hsl(262, 58%, 55%) |
| HSV | hsv(262, 65%, 81%) |
| CMYK | cmyk(41.3%, 65%, 0%, 19.2%) |
| CIE-LAB | lab(43.00, 49.60, -62.06) |
| CIE-LCH | lch(43.00, 79.45, 308.63°) |
| OKLab | oklab(53.01% 0.0854 -0.1771) |
| OKLCH | oklch(53.01% 0.197 295.7) |
| XYZ | xyz(21.3402, 13.1554, 59.7955) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.27
Bluey Purple
#6241C7
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.62
Purpleish Blue
#6140EF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7948CE #9DCE48
analogous
#485ACE #7948CE #BC48CE
triadic
#7948CE #CE7948 #48CE79
tetradic
#7948CE #CE485A #9DCE48 #48CEBC
square
#7948CE #CE485A #9DCE48 #48CEBC
split-complementary
#7948CE #CEBC48 #5ACE48
monochromatic
#42217B #5C2EAB #7948CE #9C78DB #C0A9E8
Accessibility & contrast
On white
5.78
#7948CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7948CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7948CE
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7948CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7948CE | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#636785
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7948ce; /* rgb */ color: rgb(121, 72, 206); /* oklch */ color: oklch(53.0% 0.197 295.7);
Tailwind
colors: {
custom: {
50: '#a67ede',
500: '#7948ce',
950: '#000000',
},
}SCSS
$custom: #7948ce; $custom-light: #a67ede; $custom-dark: #000000;
JSON
{
"hex": "#7948ce",
"rgb": {
"r": 121,
"g": 72,
"b": 206
},
"hsl": {
"h": 261.94,
"s": 57.759,
"l": 54.51
},
"oklch": {
"l": 0.53011,
"c": 0.19667,
"h": 295.7
},
"luminance": 0.13156
}Semantic roles & 50–950 ramp
primary
#7948CE
secondary
#C1D59D
accent
#E147A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83