#7945C7#7945C7
#7945C7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.192 H 297.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7945C7 |
|---|---|
| RGB | rgb(121, 69, 199) |
| HSL | hsl(264, 54%, 53%) |
| HSV | hsv(264, 65%, 78%) |
| CMYK | cmyk(39.2%, 65.3%, 0%, 22%) |
| CIE-LAB | lab(41.91, 49.34, -59.77) |
| CIE-LCH | lch(41.91, 77.50, 309.54°) |
| OKLab | oklab(52.07% 0.0894 -0.1704) |
| OKLCH | oklch(52.07% 0.192 297.7) |
| XYZ | xyz(20.3194, 12.4444, 55.3532) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.15
Bluish Purple
#703BE7
ΔE00 4.81
Blueviolet
#8A2BE2
ΔE00 5.32
Burple
#6832E3
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7945C7 #93C745
analogous
#4552C7 #7945C7 #BA45C7
triadic
#7945C7 #C77945 #45C779
tetradic
#7945C7 #C74552 #93C745 #45C7BA
square
#7945C7 #C74552 #93C745 #45C7BA
split-complementary
#7945C7 #C7BA45 #52C745
monochromatic
#412270 #5C309F #7945C7 #9B74D5 #BDA3E3
Accessibility & contrast
On white
6.02
#7945C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7945C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7945C7
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7945C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7945C7 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#666380
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7945c7; /* rgb */ color: rgb(121, 69, 199); /* oklch */ color: oklch(52.1% 0.192 297.7);
Tailwind
colors: {
custom: {
50: '#a57cd9',
500: '#7945c7',
950: '#000000',
},
}SCSS
$custom: #7945c7; $custom-light: #a57cd9; $custom-dark: #000000;
JSON
{
"hex": "#7945c7",
"rgb": {
"r": 121,
"g": 69,
"b": 199
},
"hsl": {
"h": 264,
"s": 53.719,
"l": 52.549
},
"oklch": {
"l": 0.52072,
"c": 0.19243,
"h": 297.7
},
"luminance": 0.12445
}Semantic roles & 50–950 ramp
primary
#7945C7
secondary
#BAD098
accent
#DD4BA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83