#795BF0#795BF0
#795BF0 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.213 H 287.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #795BF0 |
|---|---|
| RGB | rgb(121, 91, 240) |
| HSL | hsl(252, 83%, 65%) |
| HSV | hsv(252, 62%, 94%) |
| CMYK | cmyk(49.6%, 62.1%, 0%, 5.9%) |
| CIE-LAB | lab(49.30, 48.64, -71.15) |
| CIE-LCH | lch(49.30, 86.19, 304.36°) |
| OKLab | oklab(58.35% 0.0627 -0.2039) |
| OKLCH | oklch(58.35% 0.213 287.1) |
| XYZ | xyz(27.3498, 17.8371, 84.4230) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.30
Mediumslateblue
#7B68EE
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 5.06
Dark Periwinkle
#665FD1
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.55
Iris
#6258C4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BF0 #D2F05B
analogous
#5B87F0 #795BF0 #C45BF0
triadic
#795BF0 #F0795B #5BF079
tetradic
#795BF0 #F05B87 #D2F05B #5BF0C4
square
#795BF0 #F05B87 #D2F05B #5BF0C4
split-complementary
#795BF0 #F0C45B #87F05B
monochromatic
#3411BF #4B23EB #795BF0 #A793F5 #D5CBFA
Accessibility & contrast
On white
4.60
#795BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#795BF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795BF0
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BF0 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#4E7F9D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #795bf0; /* rgb */ color: rgb(121, 91, 240); /* oklch */ color: oklch(58.4% 0.213 287.1);
Tailwind
colors: {
custom: {
50: '#a98bf6',
500: '#795bf0',
950: '#000000',
},
}SCSS
$custom: #795bf0; $custom-light: #a98bf6; $custom-dark: #000000;
JSON
{
"hex": "#795bf0",
"rgb": {
"r": 121,
"g": 91,
"b": 240
},
"hsl": {
"h": 252.081,
"s": 83.24,
"l": 64.902
},
"oklch": {
"l": 0.58353,
"c": 0.21328,
"h": 287.1
},
"luminance": 0.17838
}Semantic roles & 50–950 ramp
primary
#795BF0
secondary
#E3EDBA
accent
#E006B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85