#795BA6#795BA6
#795BA6 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.4% C 0.118 H 301.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #795BA6 |
|---|---|
| RGB | rgb(121, 91, 166) |
| HSL | hsl(264, 30%, 50%) |
| HSV | hsv(264, 45%, 65%) |
| CMYK | cmyk(27.1%, 45.2%, 0%, 34.9%) |
| CIE-LAB | lab(44.66, 28.34, -36.04) |
| CIE-LCH | lch(44.66, 45.85, 308.18°) |
| OKLab | oklab(53.44% 0.0605 -0.1009) |
| OKLCH | oklch(53.44% 0.118 301) |
| XYZ | xyz(18.5076, 14.3002, 37.8542) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.33
Deep Lavender
#8D5EB7
ΔE00 4.85
Dark Lavender
#856798
ΔE00 7.30
Amethyst
#9B5FC0
ΔE00 7.92
Iris
#6258C4
ΔE00 8.20
Light Indigo
#6D5ACF
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BA6 #88A65B
analogous
#5B62A6 #795BA6 #9E5BA6
triadic
#795BA6 #A6795B #5BA679
tetradic
#795BA6 #A65B62 #88A65B #5BA69E
square
#795BA6 #A65B62 #88A65B #5BA69E
split-complementary
#795BA6 #A69E5B #62A65B
monochromatic
#3F2F57 #5C457F #795BA6 #9983BC #BAAAD1
Accessibility & contrast
On white
5.44
#795BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#795BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BA6
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BA6 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4669A9
Deuteranopia (green-blind)
#4D69A4
Tritanopia (blue-blind)
#716878
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #795ba6; /* rgb */ color: rgb(121, 91, 166); /* oklch */ color: oklch(53.4% 0.118 301.0);
Tailwind
colors: {
custom: {
50: '#a18ac1',
500: '#795ba6',
950: '#000000',
},
}SCSS
$custom: #795ba6; $custom-light: #a18ac1; $custom-dark: #000000;
JSON
{
"hex": "#795ba6",
"rgb": {
"r": 121,
"g": 91,
"b": 166
},
"hsl": {
"h": 264,
"s": 29.644,
"l": 50.392
},
"oklch": {
"l": 0.53442,
"c": 0.11765,
"h": 301
},
"luminance": 0.143
}Semantic roles & 50–950 ramp
primary
#795BA6
secondary
#B2BF9E
accent
#C6629E
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81