#795CD3#795CD3
#795CD3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.176 H 290.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #795CD3 |
|---|---|
| RGB | rgb(121, 92, 211) |
| HSL | hsl(255, 57%, 59%) |
| HSV | hsv(255, 56%, 83%) |
| CMYK | cmyk(42.7%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(47.52, 39.87, -57.62) |
| CIE-LCH | lch(47.52, 70.06, 304.68°) |
| OKLab | oklab(56.42% 0.0627 -0.1641) |
| OKLCH | oklch(56.42% 0.176 290.9) |
| XYZ | xyz(23.4669, 16.4216, 63.5486) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.36
Slate Blue
#6A5ACD
ΔE00 2.95
Purpley
#8756E4
ΔE00 3.61
Dark Periwinkle
#665FD1
ΔE00 3.82
Iris
#6258C4
ΔE00 4.82
Mediumslateblue
#7B68EE
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CD3 #B6D35C
analogous
#5C7BD3 #795CD3 #B55CD3
triadic
#795CD3 #D3795C #5CD379
tetradic
#795CD3 #D35C7B #B6D35C #5CD3B5
square
#795CD3 #D35C7B #B6D35C #5CD3B5
split-complementary
#795CD3 #D3B55C #7BD35C
monochromatic
#40268E #5533BE #795CD3 #A18CE0 #C8BCED
Accessibility & contrast
On white
4.90
#795CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#795CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CD3
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CD3 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1773D7
Deuteranopia (green-blind)
#1F6ED0
Tritanopia (blue-blind)
#5F768F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795cd3; /* rgb */ color: rgb(121, 92, 211); /* oklch */ color: oklch(56.4% 0.176 290.9);
Tailwind
colors: {
custom: {
50: '#a58be1',
500: '#795cd3',
950: '#000000',
},
}SCSS
$custom: #795cd3; $custom-light: #a58be1; $custom-dark: #000000;
JSON
{
"hex": "#795cd3",
"rgb": {
"r": 121,
"g": 92,
"b": 211
},
"hsl": {
"h": 254.622,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.56422,
"c": 0.17564,
"h": 290.9
},
"luminance": 0.16422
}Semantic roles & 50–950 ramp
primary
#795CD3
secondary
#D1DDAE
accent
#E147BB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83