#795CF4#795CF4
#795CF4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.217 H 286.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #795CF4 |
|---|---|
| RGB | rgb(121, 92, 244) |
| HSL | hsl(251, 87%, 66%) |
| HSV | hsv(251, 62%, 96%) |
| CMYK | cmyk(50.4%, 62.3%, 0%, 4.3%) |
| CIE-LAB | lab(49.80, 49.23, -72.58) |
| CIE-LCH | lch(49.80, 87.70, 304.15°) |
| OKLab | oklab(58.81% 0.0614 -0.2081) |
| OKLCH | oklch(58.81% 0.217 286.4) |
| XYZ | xyz(28.0366, 18.2495, 87.6156) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.36
Purpley
#8756E4
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 5.61
Dark Periwinkle
#665FD1
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 6.07
Lighter Purple
#A55AF4
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CF4 #D7F45C
analogous
#5C8BF4 #795CF4 #C55CF4
triadic
#795CF4 #F4795C #5CF479
tetradic
#795CF4 #F45C8B #D7F45C #5CF4C5
square
#795CF4 #F45C8B #D7F45C #5CF4C5
split-complementary
#795CF4 #F4C55C #8BF45C
monochromatic
#310EC8 #4A23F0 #795CF4 #A895F8 #D7CFFC
Accessibility & contrast
On white
4.52
#795CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#795CF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795CF4
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795CF4 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#4B81A0
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795cf4; /* rgb */ color: rgb(121, 92, 244); /* oklch */ color: oklch(58.8% 0.217 286.4);
Tailwind
colors: {
custom: {
50: '#a98cf9',
500: '#795cf4',
950: '#000000',
},
}SCSS
$custom: #795cf4; $custom-light: #a98cf9; $custom-dark: #000000;
JSON
{
"hex": "#795cf4",
"rgb": {
"r": 121,
"g": 92,
"b": 244
},
"hsl": {
"h": 251.447,
"s": 87.356,
"l": 65.882
},
"oklch": {
"l": 0.58808,
"c": 0.21693,
"h": 286.4
},
"luminance": 0.18251
}Semantic roles & 50–950 ramp
primary
#795CF4
secondary
#E5EFBD
accent
#E402B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85