#795FF3#795FF3
#795FF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.212 H 286.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #795FF3 |
|---|---|
| RGB | rgb(121, 95, 243) |
| HSL | hsl(251, 86%, 66%) |
| HSV | hsv(251, 61%, 95%) |
| CMYK | cmyk(50.2%, 60.9%, 0%, 4.7%) |
| CIE-LAB | lab(50.36, 47.27, -71.11) |
| CIE-LCH | lch(50.36, 85.39, 303.61°) |
| OKLab | oklab(59.19% 0.0585 -0.2037) |
| OKLCH | oklch(59.19% 0.212 286) |
| XYZ | xyz(28.1502, 18.7190, 86.9065) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.57
Purpley
#8756E4
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 5.74
Dark Periwinkle
#665FD1
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 6.19
Lighter Purple
#A55AF4
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FF3 #D9F35F
analogous
#5F8FF3 #795FF3 #C35FF3
triadic
#795FF3 #F3795F #5FF379
tetradic
#795FF3 #F35F8F #D9F35F #5FF3C3
square
#795FF3 #F35F8F #D9F35F #5FF3C3
split-complementary
#795FF3 #F3C35F #8FF35F
monochromatic
#300FC9 #4926EF #795FF3 #A998F7 #D8D1FC
Accessibility & contrast
On white
4.43
#795FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#795FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795FF3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795FF3 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4B82A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #795ff3; /* rgb */ color: rgb(121, 95, 243); /* oklch */ color: oklch(59.2% 0.212 286.0);
Tailwind
colors: {
custom: {
50: '#a98df8',
500: '#795ff3',
950: '#000000',
},
}SCSS
$custom: #795ff3; $custom-light: #a98df8; $custom-dark: #000000;
JSON
{
"hex": "#795ff3",
"rgb": {
"r": 121,
"g": 95,
"b": 243
},
"hsl": {
"h": 250.541,
"s": 86.047,
"l": 66.275
},
"oklch": {
"l": 0.59193,
"c": 0.21197,
"h": 286
},
"luminance": 0.1872
}Semantic roles & 50–950 ramp
primary
#795FF3
secondary
#E7EFBF
accent
#E303BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85