#795EF5#795EF5
#795EF5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.216 H 286.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #795EF5 |
|---|---|
| RGB | rgb(121, 94, 245) |
| HSL | hsl(251, 88%, 66%) |
| HSV | hsv(251, 62%, 96%) |
| CMYK | cmyk(50.6%, 61.6%, 0%, 3.9%) |
| CIE-LAB | lab(50.29, 48.40, -72.34) |
| CIE-LCH | lch(50.29, 87.04, 303.79°) |
| OKLab | oklab(59.19% 0.0593 -0.2074) |
| OKLCH | oklch(59.19% 0.216 286) |
| XYZ | xyz(28.3644, 18.6615, 88.4760) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.85
Purpley
#8756E4
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 5.89
Dark Periwinkle
#665FD1
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.34
Lighter Purple
#A55AF4
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EF5 #DAF55E
analogous
#5E8FF5 #795EF5 #C45EF5
triadic
#795EF5 #F5795E #5EF579
tetradic
#795EF5 #F55E8F #DAF55E #5EF5C4
square
#795EF5 #F55E8F #DAF55E #5EF5C4
split-complementary
#795EF5 #F5C45E #8FF55E
monochromatic
#2F0DCC #4924F1 #795EF5 #A998F9 #D9D1FC
Accessibility & contrast
On white
4.44
#795EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#795EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795EF5
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795EF5 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#4A82A1
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #795ef5; /* rgb */ color: rgb(121, 94, 245); /* oklch */ color: oklch(59.2% 0.216 286.0);
Tailwind
colors: {
custom: {
50: '#a98df9',
500: '#795ef5',
950: '#000000',
},
}SCSS
$custom: #795ef5; $custom-light: #a98df9; $custom-dark: #000000;
JSON
{
"hex": "#795ef5",
"rgb": {
"r": 121,
"g": 94,
"b": 245
},
"hsl": {
"h": 250.728,
"s": 88.304,
"l": 66.471
},
"oklch": {
"l": 0.59188,
"c": 0.21568,
"h": 286
},
"luminance": 0.18663
}Semantic roles & 50–950 ramp
primary
#795EF5
secondary
#E7F0BF
accent
#E501BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85