#7945C3#7945C3
#7945C3 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.188 H 298.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7945C3 |
|---|---|
| RGB | rgb(121, 69, 195) |
| HSL | hsl(265, 51%, 52%) |
| HSV | hsv(265, 65%, 76%) |
| CMYK | cmyk(37.9%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(41.63, 48.31, -57.91) |
| CIE-LCH | lch(41.63, 75.41, 309.84°) |
| OKLab | oklab(51.78% 0.0899 -0.1649) |
| OKLCH | oklch(51.78% 0.188 298.6) |
| XYZ | xyz(19.8611, 12.2611, 52.9394) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.29
Bluish Purple
#703BE7
ΔE00 5.35
Royal Purple
#7851A9
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 6.03
Burple
#6832E3
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7945C3 #8FC345
analogous
#4550C3 #7945C3 #B845C3
triadic
#7945C3 #C37945 #45C379
tetradic
#7945C3 #C34550 #8FC345 #45C3B8
square
#7945C3 #C34550 #8FC345 #45C3B8
split-complementary
#7945C3 #C3B845 #50C345
monochromatic
#40236B #5C3199 #7945C3 #9A73D2 #BCA2E1
Accessibility & contrast
On white
6.08
#7945C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7945C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7945C3
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7945C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7945C3 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#68627E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7945c3; /* rgb */ color: rgb(121, 69, 195); /* oklch */ color: oklch(51.8% 0.188 298.6);
Tailwind
colors: {
custom: {
50: '#a57cd6',
500: '#7945c3',
950: '#000000',
},
}SCSS
$custom: #7945c3; $custom-light: #a57cd6; $custom-dark: #000000;
JSON
{
"hex": "#7945c3",
"rgb": {
"r": 121,
"g": 69,
"b": 195
},
"hsl": {
"h": 264.762,
"s": 51.22,
"l": 51.765
},
"oklch": {
"l": 0.51775,
"c": 0.1878,
"h": 298.6
},
"luminance": 0.12261
}Semantic roles & 50–950 ramp
primary
#7945C3
secondary
#B7CE96
accent
#DB4DA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83