#7945F0#7945F0
#7945F0 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.239 H 290.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7945F0 |
|---|---|
| RGB | rgb(121, 69, 240) |
| HSL | hsl(258, 85%, 61%) |
| HSV | hsv(258, 71%, 94%) |
| CMYK | cmyk(49.6%, 71.3%, 0%, 5.9%) |
| CIE-LAB | lab(45.10, 60.13, -78.01) |
| CIE-LCH | lch(45.10, 98.49, 307.62°) |
| OKLab | oklab(55.34% 0.0827 -0.224) |
| OKLCH | oklch(55.34% 0.239 290.3) |
| XYZ | xyz(25.7369, 14.6114, 83.8854) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.11
Purpleish Blue
#6140EF
ΔE00 3.67
Purpley
#8756E4
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.30
Burple
#6832E3
ΔE00 5.41
Purpley Blue
#5F34E7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7945F0 #BCF045
analogous
#4566F0 #7945F0 #CF45F0
triadic
#7945F0 #F07945 #45F079
tetradic
#7945F0 #F04566 #BCF045 #45F0CF
square
#7945F0 #F04566 #BCF045 #45F0CF
split-complementary
#7945F0 #F0CF45 #66F045
monochromatic
#3E0EAD #5312E5 #7945F0 #A27EF5 #CBB6F9
Accessibility & contrast
On white
5.35
#7945F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7945F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7945F0
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7945F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7945F0 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EF5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#507296
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7945f0; /* rgb */ color: rgb(121, 69, 240); /* oklch */ color: oklch(55.3% 0.239 290.3);
Tailwind
colors: {
custom: {
50: '#aa7df6',
500: '#7945f0',
950: '#000000',
},
}SCSS
$custom: #7945f0; $custom-light: #aa7df6; $custom-dark: #000000;
JSON
{
"hex": "#7945f0",
"rgb": {
"r": 121,
"g": 69,
"b": 240
},
"hsl": {
"h": 258.246,
"s": 85.075,
"l": 60.588
},
"oklch": {
"l": 0.55336,
"c": 0.23875,
"h": 290.3
},
"luminance": 0.14612
}Semantic roles & 50–950 ramp
primary
#7945F0
secondary
#D5E9A8
accent
#E2049E
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85