#7945E6#7945E6
#7945E6 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.228 H 291.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7945E6 |
|---|---|
| RGB | rgb(121, 69, 230) |
| HSL | hsl(259, 76%, 59%) |
| HSV | hsv(259, 70%, 90%) |
| CMYK | cmyk(47.4%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(44.28, 57.48, -73.69) |
| CIE-LCH | lch(44.28, 93.46, 307.95°) |
| OKLab | oklab(54.51% 0.0847 -0.2113) |
| OKLCH | oklch(54.51% 0.228 291.9) |
| XYZ | xyz(24.2922, 14.0335, 76.2764) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.58
Purpleish Blue
#6140EF
ΔE00 3.68
Blueviolet
#8A2BE2
ΔE00 4.76
Burple
#6832E3
ΔE00 4.86
Purpley
#8756E4
ΔE00 4.86
Purpley Blue
#5F34E7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7945E6 #B2E645
analogous
#4561E6 #7945E6 #C945E6
triadic
#7945E6 #E67945 #45E679
tetradic
#7945E6 #E64561 #B2E645 #45E6C9
square
#7945E6 #E64561 #B2E645 #45E6C9
split-complementary
#7945E6 #E6C945 #61E645
monochromatic
#40159C #571CD2 #7945E6 #A07BED #C7B1F5
Accessibility & contrast
On white
5.52
#7945E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7945E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7945E6
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7945E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7945E6 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#566E91
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7945e6; /* rgb */ color: rgb(121, 69, 230); /* oklch */ color: oklch(54.5% 0.228 291.9);
Tailwind
colors: {
custom: {
50: '#a97def',
500: '#7945e6',
950: '#000000',
},
}SCSS
$custom: #7945e6; $custom-light: #a97def; $custom-dark: #000000;
JSON
{
"hex": "#7945e6",
"rgb": {
"r": 121,
"g": 69,
"b": 230
},
"hsl": {
"h": 259.379,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.54505,
"c": 0.22766,
"h": 291.9
},
"luminance": 0.14034
}Semantic roles & 50–950 ramp
primary
#7945E6
secondary
#CFE3A4
accent
#F335B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85