#795BF9#795BF9
#795BF9 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.224 H 286.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #795BF9 |
|---|---|
| RGB | rgb(121, 91, 249) |
| HSL | hsl(251, 93%, 67%) |
| HSV | hsv(251, 63%, 98%) |
| CMYK | cmyk(51.4%, 63.5%, 0%, 2.4%) |
| CIE-LAB | lab(49.96, 51.21, -75.11) |
| CIE-LCH | lch(49.96, 90.90, 304.29°) |
| OKLab | oklab(59.04% 0.0619 -0.2155) |
| OKLCH | oklch(59.04% 0.224 286) |
| XYZ | xyz(28.7200, 18.3852, 91.6395) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.67
Purpley
#8756E4
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 6.16
Dark Periwinkle
#665FD1
ΔE00 6.41
Slate Blue
#6A5ACD
ΔE00 6.61
Lighter Purple
#A55AF4
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BF9 #DBF95B
analogous
#5B8CF9 #795BF9 #C85BF9
triadic
#795BF9 #F9795B #5BF979
tetradic
#795BF9 #F95B8C #DBF95B #5BF9C8
square
#795BF9 #F95B8C #DBF95B #5BF9C8
split-complementary
#795BF9 #F9C85B #8CF95B
monochromatic
#2E08D2 #4920F7 #795BF9 #A996FB #D9D1FD
Accessibility & contrast
On white
4.49
#795BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#795BF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795BF9
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795BF9 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0072F6
Tritanopia (blue-blind)
#4782A2
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #795bf9; /* rgb */ color: rgb(121, 91, 249); /* oklch */ color: oklch(59.0% 0.224 286.0);
Tailwind
colors: {
custom: {
50: '#aa8bfc',
500: '#795bf9',
950: '#000000',
},
}SCSS
$custom: #795bf9; $custom-light: #aa8bfc; $custom-dark: #000000;
JSON
{
"hex": "#795bf9",
"rgb": {
"r": 121,
"g": 91,
"b": 249
},
"hsl": {
"h": 251.392,
"s": 92.941,
"l": 66.667
},
"oklch": {
"l": 0.59041,
"c": 0.22419,
"h": 286
},
"luminance": 0.18387
}Semantic roles & 50–950 ramp
primary
#795BF9
secondary
#E8F1BE
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86