#795ED0#795ED0
#795ED0 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.169 H 290.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #795ED0 |
|---|---|
| RGB | rgb(121, 94, 208) |
| HSL | hsl(254, 55%, 59%) |
| HSV | hsv(254, 55%, 82%) |
| CMYK | cmyk(41.8%, 54.8%, 0%, 18.4%) |
| CIE-LAB | lab(47.78, 37.87, -55.48) |
| CIE-LCH | lch(47.78, 67.17, 304.31°) |
| OKLab | oklab(56.55% 0.0603 -0.1578) |
| OKLCH | oklch(56.55% 0.169 290.9) |
| XYZ | xyz(23.2699, 16.6237, 61.6449) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 3.04
Dark Periwinkle
#665FD1
ΔE00 3.74
Purpley
#8756E4
ΔE00 4.13
Iris
#6258C4
ΔE00 4.83
Mediumslateblue
#7B68EE
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ED0 #B5D05E
analogous
#5E7CD0 #795ED0 #B25ED0
triadic
#795ED0 #D0795E #5ED079
tetradic
#795ED0 #D05E7C #B5D05E #5ED0B2
square
#795ED0 #D05E7C #B5D05E #5ED0B2
split-complementary
#795ED0 #D0B25E #7CD05E
monochromatic
#40298B #5636BA #795ED0 #A08DDE #C8BDEC
Accessibility & contrast
On white
4.86
#795ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#795ED0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ED0
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ED0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ED0 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2473D4
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#61768E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795ed0; /* rgb */ color: rgb(121, 94, 208); /* oklch */ color: oklch(56.6% 0.169 290.9);
Tailwind
colors: {
custom: {
50: '#a58cdf',
500: '#795ed0',
950: '#000000',
},
}SCSS
$custom: #795ed0; $custom-light: #a58cdf; $custom-dark: #000000;
JSON
{
"hex": "#795ed0",
"rgb": {
"r": 121,
"g": 94,
"b": 208
},
"hsl": {
"h": 254.211,
"s": 54.808,
"l": 59.216
},
"oklch": {
"l": 0.56553,
"c": 0.16891,
"h": 290.9
},
"luminance": 0.16624
}Semantic roles & 50–950 ramp
primary
#795ED0
secondary
#D1DBAF
accent
#DE4ABB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83