#7945CA#7945CA
#7945CA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.196 H 297.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7945CA |
|---|---|
| RGB | rgb(121, 69, 202) |
| HSL | hsl(263, 56%, 53%) |
| HSV | hsv(263, 66%, 79%) |
| CMYK | cmyk(40.1%, 65.8%, 0%, 20.8%) |
| CIE-LAB | lab(42.13, 50.12, -61.16) |
| CIE-LCH | lch(42.13, 79.07, 309.34°) |
| OKLab | oklab(52.3% 0.0891 -0.1745) |
| OKLCH | oklch(52.3% 0.196 297.1) |
| XYZ | xyz(20.6712, 12.5851, 57.2057) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.11
Bluish Purple
#703BE7
ΔE00 4.42
Blueviolet
#8A2BE2
ΔE00 5.10
Burple
#6832E3
ΔE00 5.49
Purpleish Blue
#6140EF
ΔE00 6.03
Darkorchid
#9932CC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7945CA #96CA45
analogous
#4553CA #7945CA #BC45CA
triadic
#7945CA #CA7945 #45CA79
tetradic
#7945CA #CA4553 #96CA45 #45CABC
square
#7945CA #CA4553 #96CA45 #45CABC
split-complementary
#7945CA #CABC45 #53CA45
monochromatic
#412174 #5C2FA3 #7945CA #9B75D8 #BEA4E5
Accessibility & contrast
On white
5.97
#7945CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#7945CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7945CA
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7945CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7945CA | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#656482
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7945ca; /* rgb */ color: rgb(121, 69, 202); /* oklch */ color: oklch(52.3% 0.196 297.1);
Tailwind
colors: {
custom: {
50: '#a67cdb',
500: '#7945ca',
950: '#000000',
},
}SCSS
$custom: #7945ca; $custom-light: #a67cdb; $custom-dark: #000000;
JSON
{
"hex": "#7945ca",
"rgb": {
"r": 121,
"g": 69,
"b": 202
},
"hsl": {
"h": 263.459,
"s": 55.649,
"l": 53.137
},
"oklch": {
"l": 0.52297,
"c": 0.1959,
"h": 297.1
},
"luminance": 0.12585
}Semantic roles & 50–950 ramp
primary
#7945CA
secondary
#BCD299
accent
#DF49A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83