#795BBE#795BBE
#795BBE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.150 H 295.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #795BBE |
|---|---|
| RGB | rgb(121, 91, 190) |
| HSL | hsl(258, 43%, 55%) |
| HSV | hsv(258, 52%, 75%) |
| CMYK | cmyk(36.3%, 52.1%, 0%, 25.5%) |
| CIE-LAB | lab(45.99, 34.66, -47.98) |
| CIE-LCH | lch(45.99, 59.19, 305.85°) |
| OKLab | oklab(54.87% 0.0632 -0.1357) |
| OKLCH | oklch(54.87% 0.15 295) |
| XYZ | xyz(20.9181, 15.2644, 50.5494) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.18
Royal Purple
#7851A9
ΔE00 4.68
Iris
#6258C4
ΔE00 4.94
Deep Lavender
#8D5EB7
ΔE00 5.12
Dark Periwinkle
#665FD1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BBE #A0BE5B
analogous
#5B6EBE #795BBE #AA5BBE
triadic
#795BBE #BE795B #5BBE79
tetradic
#795BBE #BE5B6E #A0BE5B #5BBEAA
square
#795BBE #BE5B6E #A0BE5B #5BBEAA
split-complementary
#795BBE #BEAA5B #6EBE5B
monochromatic
#422D72 #5B3E9D #795BBE #9D87CF #C1B3E1
Accessibility & contrast
On white
5.18
#795BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#795BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BBE
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BBE | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#696F84
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #795bbe; /* rgb */ color: rgb(121, 91, 190); /* oklch */ color: oklch(54.9% 0.150 295.0);
Tailwind
colors: {
custom: {
50: '#a38ad2',
500: '#795bbe',
950: '#000000',
},
}SCSS
$custom: #795bbe; $custom-light: #a38ad2; $custom-dark: #000000;
JSON
{
"hex": "#795bbe",
"rgb": {
"r": 121,
"g": 91,
"b": 190
},
"hsl": {
"h": 258.182,
"s": 43.231,
"l": 55.098
},
"oklch": {
"l": 0.54872,
"c": 0.14975,
"h": 295
},
"luminance": 0.15265
}Semantic roles & 50–950 ramp
primary
#795BBE
secondary
#C3CFA6
accent
#D355AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82