#7948E3#7948E3
#7948E3 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.221 H 291.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7948E3 |
|---|---|
| RGB | rgb(121, 72, 227) |
| HSL | hsl(259, 73%, 59%) |
| HSV | hsv(259, 68%, 89%) |
| CMYK | cmyk(46.7%, 68.3%, 0%, 11%) |
| CIE-LAB | lab(44.58, 55.18, -71.50) |
| CIE-LCH | lch(44.58, 90.32, 307.66°) |
| OKLab | oklab(54.65% 0.0825 -0.2049) |
| OKLCH | oklch(54.65% 0.221 291.9) |
| XYZ | xyz(24.0638, 14.2449, 74.1398) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.11
Purpleish Blue
#6140EF
ΔE00 4.03
Purpley
#8756E4
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 5.21
Burple
#6832E3
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7948E3 #B2E348
analogous
#4864E3 #7948E3 #C748E3
triadic
#7948E3 #E37948 #48E379
tetradic
#7948E3 #E34864 #B2E348 #48E3C7
square
#7948E3 #E34864 #B2E348 #48E3C7
split-complementary
#7948E3 #E3C748 #64E348
monochromatic
#401799 #5720CE #7948E3 #A07DEB #C7B2F3
Accessibility & contrast
On white
5.46
#7948E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7948E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7948E3
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7948E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7948E3 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#586F90
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7948e3; /* rgb */ color: rgb(121, 72, 227); /* oklch */ color: oklch(54.6% 0.221 291.9);
Tailwind
colors: {
custom: {
50: '#a87eed',
500: '#7948e3',
950: '#000000',
},
}SCSS
$custom: #7948e3; $custom-light: #a87eed; $custom-dark: #000000;
JSON
{
"hex": "#7948e3",
"rgb": {
"r": 121,
"g": 72,
"b": 227
},
"hsl": {
"h": 258.968,
"s": 73.46,
"l": 58.627
},
"oklch": {
"l": 0.54646,
"c": 0.22087,
"h": 291.9
},
"luminance": 0.14246
}Semantic roles & 50–950 ramp
primary
#7948E3
secondary
#CFE2A5
accent
#F038B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84