#795ED3#795ED3
#795ED3 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.173 H 290.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #795ED3 |
|---|---|
| RGB | rgb(121, 94, 211) |
| HSL | hsl(254, 57%, 60%) |
| HSV | hsv(254, 55%, 83%) |
| CMYK | cmyk(42.7%, 55.5%, 0%, 17.3%) |
| CIE-LAB | lab(47.97, 38.71, -56.89) |
| CIE-LCH | lch(47.97, 68.81, 304.23°) |
| OKLab | oklab(56.75% 0.0604 -0.1619) |
| OKLCH | oklch(56.75% 0.173 290.4) |
| XYZ | xyz(23.6425, 16.7727, 63.6072) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 3.09
Dark Periwinkle
#665FD1
ΔE00 3.68
Purpley
#8756E4
ΔE00 3.86
Iris
#6258C4
ΔE00 4.97
Mediumslateblue
#7B68EE
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ED3 #B8D35E
analogous
#5E7ED3 #795ED3 #B35ED3
triadic
#795ED3 #D3795E #5ED379
tetradic
#795ED3 #D35E7E #B8D35E #5ED3B3
square
#795ED3 #D35E7E #B8D35E #5ED3B3
split-complementary
#795ED3 #D3B35E #7ED35E
monochromatic
#3F278F #5434BF #795ED3 #A18EE0 #C9BEED
Accessibility & contrast
On white
4.82
#795ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#795ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ED3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ED3 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F74D7
Deuteranopia (green-blind)
#246FD0
Tritanopia (blue-blind)
#5F778F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795ed3; /* rgb */ color: rgb(121, 94, 211); /* oklch */ color: oklch(56.8% 0.173 290.4);
Tailwind
colors: {
custom: {
50: '#a58ce1',
500: '#795ed3',
950: '#000000',
},
}SCSS
$custom: #795ed3; $custom-light: #a58ce1; $custom-dark: #000000;
JSON
{
"hex": "#795ed3",
"rgb": {
"r": 121,
"g": 94,
"b": 211
},
"hsl": {
"h": 253.846,
"s": 57.073,
"l": 59.804
},
"oklch": {
"l": 0.56754,
"c": 0.17281,
"h": 290.4
},
"luminance": 0.16774
}Semantic roles & 50–950 ramp
primary
#795ED3
secondary
#D3DDB0
accent
#E047BD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83