#795DBE#795DBE
#795DBE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.2% C 0.147 H 294.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #795DBE |
|---|---|
| RGB | rgb(121, 93, 190) |
| HSL | hsl(257, 43%, 55%) |
| HSV | hsv(257, 51%, 75%) |
| CMYK | cmyk(36.3%, 51.1%, 0%, 25.5%) |
| CIE-LAB | lab(46.46, 33.49, -47.23) |
| CIE-LCH | lch(46.46, 57.90, 305.33°) |
| OKLab | oklab(55.22% 0.0606 -0.1336) |
| OKLCH | oklch(55.22% 0.147 294.4) |
| XYZ | xyz(21.0914, 15.6109, 50.6072) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.24
Iris
#6258C4
ΔE00 5.04
Deep Lavender
#8D5EB7
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DBE #A2BE5D
analogous
#5D71BE #795DBE #AA5DBE
triadic
#795DBE #BE795D #5DBE79
tetradic
#795DBE #BE5D71 #A2BE5D #5DBEAA
square
#795DBE #BE5D71 #A2BE5D #5DBEAA
split-complementary
#795DBE #BEAA5D #71BE5D
monochromatic
#422E73 #5B409E #795DBE #9D89D0 #C1B4E1
Accessibility & contrast
On white
5.09
#795DBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#795DBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DBE
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DBE | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#687085
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #795dbe; /* rgb */ color: rgb(121, 93, 190); /* oklch */ color: oklch(55.2% 0.147 294.4);
Tailwind
colors: {
custom: {
50: '#a38bd2',
500: '#795dbe',
950: '#000000',
},
}SCSS
$custom: #795dbe; $custom-light: #a38bd2; $custom-dark: #000000;
JSON
{
"hex": "#795dbe",
"rgb": {
"r": 121,
"g": 93,
"b": 190
},
"hsl": {
"h": 257.32,
"s": 42.731,
"l": 55.49
},
"oklch": {
"l": 0.55219,
"c": 0.14668,
"h": 294.4
},
"luminance": 0.15611
}Semantic roles & 50–950 ramp
primary
#795DBE
secondary
#C4D0A7
accent
#D355AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82