#795BF3#795BF3
#795BF3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.217 H 286.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #795BF3 |
|---|---|
| RGB | rgb(121, 91, 243) |
| HSL | hsl(252, 86%, 65%) |
| HSV | hsv(252, 63%, 95%) |
| CMYK | cmyk(50.2%, 62.6%, 0%, 4.7%) |
| CIE-LAB | lab(49.52, 49.50, -72.48) |
| CIE-LCH | lch(49.52, 87.77, 304.33°) |
| OKLab | oklab(58.58% 0.0624 -0.2078) |
| OKLCH | oklch(58.58% 0.217 286.7) |
| XYZ | xyz(27.7991, 18.0168, 86.7895) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.52
Mediumslateblue
#7B68EE
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 5.80
Slate Blue
#6A5ACD
ΔE00 5.90
Lighter Purple
#A55AF4
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BF3 #D5F35B
analogous
#5B89F3 #795BF3 #C55BF3
triadic
#795BF3 #F3795B #5BF379
tetradic
#795BF3 #F35B89 #D5F35B #5BF3C5
square
#795BF3 #F35B89 #D5F35B #5BF3C5
split-complementary
#795BF3 #F3C55B #89F35B
monochromatic
#320EC5 #4A22EF #795BF3 #A894F7 #D6CDFB
Accessibility & contrast
On white
4.56
#795BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#795BF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795BF3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795BF3 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4C809F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795bf3; /* rgb */ color: rgb(121, 91, 243); /* oklch */ color: oklch(58.6% 0.217 286.7);
Tailwind
colors: {
custom: {
50: '#a98bf8',
500: '#795bf3',
950: '#000000',
},
}SCSS
$custom: #795bf3; $custom-light: #a98bf8; $custom-dark: #000000;
JSON
{
"hex": "#795bf3",
"rgb": {
"r": 121,
"g": 91,
"b": 243
},
"hsl": {
"h": 251.842,
"s": 86.364,
"l": 65.49
},
"oklch": {
"l": 0.58581,
"c": 0.21694,
"h": 286.7
},
"luminance": 0.18018
}Semantic roles & 50–950 ramp
primary
#795BF3
secondary
#E4EEBB
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85