#795FC3#795FC3
#795FC3 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.150 H 292.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #795FC3 |
|---|---|
| RGB | rgb(121, 95, 195) |
| HSL | hsl(256, 45%, 57%) |
| HSV | hsv(256, 51%, 76%) |
| CMYK | cmyk(37.9%, 51.3%, 0%, 23.5%) |
| CIE-LAB | lab(47.22, 33.67, -48.91) |
| CIE-LCH | lch(47.22, 59.38, 304.55°) |
| OKLab | oklab(55.88% 0.0584 -0.1385) |
| OKLCH | oklch(55.88% 0.15 292.9) |
| XYZ | xyz(21.8251, 16.1890, 53.5941) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 4.65
Iris
#6258C4
ΔE00 4.93
Deep Lavender
#8D5EB7
ΔE00 5.55
Purpley
#8756E4
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FC3 #A9C35F
analogous
#5F77C3 #795FC3 #AB5FC3
triadic
#795FC3 #C3795F #5FC379
tetradic
#795FC3 #C35F77 #A9C35F #5FC3AB
square
#795FC3 #C35F77 #A9C35F #5FC3AB
split-complementary
#795FC3 #C3AB5F #77C35F
monochromatic
#422E7A #593EA6 #795FC3 #9E8CD4 #C4B8E4
Accessibility & contrast
On white
4.96
#795FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#795FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FC3
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FC3 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#3B6EC1
Tritanopia (blue-blind)
#667388
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795fc3; /* rgb */ color: rgb(121, 95, 195); /* oklch */ color: oklch(55.9% 0.150 292.9);
Tailwind
colors: {
custom: {
50: '#a38dd6',
500: '#795fc3',
950: '#000000',
},
}SCSS
$custom: #795fc3; $custom-light: #a38dd6; $custom-dark: #000000;
JSON
{
"hex": "#795fc3",
"rgb": {
"r": 121,
"g": 95,
"b": 195
},
"hsl": {
"h": 255.6,
"s": 45.455,
"l": 56.863
},
"oklch": {
"l": 0.55881,
"c": 0.15029,
"h": 292.9
},
"luminance": 0.16189
}Semantic roles & 50–950 ramp
primary
#795FC3
secondary
#C9D3AB
accent
#D553B3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83