#795BF1#795BF1
#795BF1 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.214 H 287.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #795BF1 |
|---|---|
| RGB | rgb(121, 91, 241) |
| HSL | hsl(252, 84%, 65%) |
| HSV | hsv(252, 62%, 95%) |
| CMYK | cmyk(49.8%, 62.2%, 0%, 5.5%) |
| CIE-LAB | lab(49.37, 48.93, -71.60) |
| CIE-LCH | lch(49.37, 86.72, 304.35°) |
| OKLab | oklab(58.43% 0.0626 -0.2052) |
| OKLCH | oklch(58.43% 0.215 287) |
| XYZ | xyz(27.4988, 17.8967, 85.2075) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.37
Mediumslateblue
#7B68EE
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.61
Slate Blue
#6A5ACD
ΔE00 5.66
Iris
#6258C4
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BF1 #D3F15B
analogous
#5B88F1 #795BF1 #C45BF1
triadic
#795BF1 #F1795B #5BF179
tetradic
#795BF1 #F15B88 #D3F15B #5BF1C4
square
#795BF1 #F15B88 #D3F15B #5BF1C4
split-complementary
#795BF1 #F1C45B #88F15B
monochromatic
#3410C1 #4B23EC #795BF1 #A793F6 #D5CCFB
Accessibility & contrast
On white
4.59
#795BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#795BF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795BF1
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BF1 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#4D7F9E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #795bf1; /* rgb */ color: rgb(121, 91, 241); /* oklch */ color: oklch(58.4% 0.214 287.0);
Tailwind
colors: {
custom: {
50: '#a98bf7',
500: '#795bf1',
950: '#000000',
},
}SCSS
$custom: #795bf1; $custom-light: #a98bf7; $custom-dark: #000000;
JSON
{
"hex": "#795bf1",
"rgb": {
"r": 121,
"g": 91,
"b": 241
},
"hsl": {
"h": 252,
"s": 84.27,
"l": 65.098
},
"oklch": {
"l": 0.58429,
"c": 0.2145,
"h": 287
},
"luminance": 0.17898
}Semantic roles & 50–950 ramp
primary
#795BF1
secondary
#E3EDBA
accent
#E105B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85