#795CF3#795CF3
#795CF3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.216 H 286.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #795CF3 |
|---|---|
| RGB | rgb(121, 92, 243) |
| HSL | hsl(252, 86%, 66%) |
| HSV | hsv(252, 62%, 95%) |
| CMYK | cmyk(50.2%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(49.72, 48.94, -72.14) |
| CIE-LCH | lch(49.72, 87.18, 304.15°) |
| OKLab | oklab(58.73% 0.0614 -0.2068) |
| OKLCH | oklch(58.73% 0.216 286.5) |
| XYZ | xyz(27.8852, 18.1889, 86.8181) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.37
Purpley
#8756E4
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 5.95
Lighter Purple
#A55AF4
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CF3 #D6F35C
analogous
#5C8AF3 #795CF3 #C45CF3
triadic
#795CF3 #F3795C #5CF379
tetradic
#795CF3 #F35C8A #D6F35C #5CF3C4
square
#795CF3 #F35C8A #D6F35C #5CF3C4
split-complementary
#795CF3 #F3C45C #8AF35C
monochromatic
#320FC6 #4A23EF #795CF3 #A895F7 #D7CEFB
Accessibility & contrast
On white
4.53
#795CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#795CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795CF3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795CF3 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#4C809F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795cf3; /* rgb */ color: rgb(121, 92, 243); /* oklch */ color: oklch(58.7% 0.216 286.5);
Tailwind
colors: {
custom: {
50: '#a98bf8',
500: '#795cf3',
950: '#000000',
},
}SCSS
$custom: #795cf3; $custom-light: #a98bf8; $custom-dark: #000000;
JSON
{
"hex": "#795cf3",
"rgb": {
"r": 121,
"g": 92,
"b": 243
},
"hsl": {
"h": 251.523,
"s": 86.286,
"l": 65.686
},
"oklch": {
"l": 0.58732,
"c": 0.2157,
"h": 286.5
},
"luminance": 0.1819
}Semantic roles & 50–950 ramp
primary
#795CF3
secondary
#E5EFBC
accent
#E303B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85