#795DF9#795DF9
#795DF9 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.222 H 285.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #795DF9 |
|---|---|
| RGB | rgb(121, 93, 249) |
| HSL | hsl(251, 93%, 67%) |
| HSV | hsv(251, 63%, 98%) |
| CMYK | cmyk(51.4%, 62.7%, 0%, 2.4%) |
| CIE-LAB | lab(50.37, 50.11, -74.44) |
| CIE-LCH | lch(50.37, 89.73, 303.95°) |
| OKLab | oklab(59.34% 0.06 -0.2135) |
| OKLCH | oklch(59.34% 0.222 285.7) |
| XYZ | xyz(28.8933, 18.7317, 91.6973) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.19
Purpley
#8756E4
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 6.29
Dark Periwinkle
#665FD1
ΔE00 6.40
Slate Blue
#6A5ACD
ΔE00 6.74
Lighter Purple
#A55AF4
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DF9 #DDF95D
analogous
#5D8FF9 #795DF9 #C75DF9
triadic
#795DF9 #F9795D #5DF979
tetradic
#795DF9 #F95D8F #DDF95D #5DF9C7
square
#795DF9 #F95D8F #DDF95D #5DF9C7
split-complementary
#795DF9 #F9C75D #8FF95D
monochromatic
#2C08D4 #4822F7 #795DF9 #AA98FB #DBD3FD
Accessibility & contrast
On white
4.42
#795DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#795DF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795DF9
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795DF9 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4783A3
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #795df9; /* rgb */ color: rgb(121, 93, 249); /* oklch */ color: oklch(59.3% 0.222 285.7);
Tailwind
colors: {
custom: {
50: '#aa8cfc',
500: '#795df9',
950: '#000000',
},
}SCSS
$custom: #795df9; $custom-light: #aa8cfc; $custom-dark: #000000;
JSON
{
"hex": "#795df9",
"rgb": {
"r": 121,
"g": 93,
"b": 249
},
"hsl": {
"h": 250.769,
"s": 92.857,
"l": 67.059
},
"oklch": {
"l": 0.5934,
"c": 0.22178,
"h": 285.7
},
"luminance": 0.18733
}Semantic roles & 50–950 ramp
primary
#795DF9
secondary
#E9F2C0
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86