#795ED5#795ED5
#795ED5 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.175 H 290.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #795ED5 |
|---|---|
| RGB | rgb(121, 94, 213) |
| HSL | hsl(254, 59%, 60%) |
| HSV | hsv(254, 56%, 84%) |
| CMYK | cmyk(43.2%, 55.9%, 0%, 16.5%) |
| CIE-LAB | lab(48.10, 39.27, -57.83) |
| CIE-LCH | lch(48.10, 69.90, 304.18°) |
| OKLab | oklab(56.89% 0.0604 -0.1647) |
| OKLCH | oklch(56.89% 0.175 290.1) |
| XYZ | xyz(23.8948, 16.8736, 64.9358) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.61
Slate Blue
#6A5ACD
ΔE00 3.16
Dark Periwinkle
#665FD1
ΔE00 3.67
Purpley
#8756E4
ΔE00 3.71
Mediumslateblue
#7B68EE
ΔE00 4.88
Iris
#6258C4
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ED5 #BAD55E
analogous
#5E7FD5 #795ED5 #B45ED5
triadic
#795ED5 #D5795E #5ED579
tetradic
#795ED5 #D55E7F #BAD55E #5ED5B4
square
#795ED5 #D55E7F #BAD55E #5ED5B4
split-complementary
#795ED5 #D5B45E #7FD55E
monochromatic
#3F2692 #5433C3 #795ED5 #A18FE2 #CABFEE
Accessibility & contrast
On white
4.80
#795ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#795ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ED5
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ED5 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A74D9
Deuteranopia (green-blind)
#216FD2
Tritanopia (blue-blind)
#5E7890
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795ed5; /* rgb */ color: rgb(121, 94, 213); /* oklch */ color: oklch(56.9% 0.175 290.1);
Tailwind
colors: {
custom: {
50: '#a58ce3',
500: '#795ed5',
950: '#000000',
},
}SCSS
$custom: #795ed5; $custom-light: #a58ce3; $custom-dark: #000000;
JSON
{
"hex": "#795ed5",
"rgb": {
"r": 121,
"g": 94,
"b": 213
},
"hsl": {
"h": 253.613,
"s": 58.621,
"l": 60.196
},
"oklch": {
"l": 0.5689,
"c": 0.1754,
"h": 290.1
},
"luminance": 0.16874
}Semantic roles & 50–950 ramp
primary
#795ED5
secondary
#D4DEB1
accent
#C61FA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84