#795BAE#795BAE
#795BAE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 53.9% C 0.128 H 298.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #795BAE |
|---|---|
| RGB | rgb(121, 91, 174) |
| HSL | hsl(262, 34%, 52%) |
| HSV | hsv(262, 48%, 68%) |
| CMYK | cmyk(30.5%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(45.09, 30.40, -40.08) |
| CIE-LCH | lch(45.09, 50.31, 307.18°) |
| OKLab | oklab(53.9% 0.0617 -0.1126) |
| OKLCH | oklch(53.9% 0.128 298.7) |
| XYZ | xyz(19.2644, 14.6029, 41.8399) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.12
Deep Lavender
#8D5EB7
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 6.66
Slate Blue
#6A5ACD
ΔE00 6.73
Iris
#6258C4
ΔE00 6.84
Amethyst
#9B5FC0
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BAE #90AE5B
analogous
#5B66AE #795BAE #A35BAE
triadic
#795BAE #AE795B #5BAE79
tetradic
#795BAE #AE5B66 #90AE5B #5BAEA3
square
#795BAE #AE5B66 #90AE5B #5BAEA3
split-complementary
#795BAE #AEA35B #66AE5B
monochromatic
#412F5F #5C4388 #795BAE #9A84C2 #BCADD6
Accessibility & contrast
On white
5.36
#795BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#795BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BAE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BAE | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#6E6A7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #795bae; /* rgb */ color: rgb(121, 91, 174); /* oklch */ color: oklch(53.9% 0.128 298.7);
Tailwind
colors: {
custom: {
50: '#a28ac6',
500: '#795bae',
950: '#000000',
},
}SCSS
$custom: #795bae; $custom-light: #a28ac6; $custom-dark: #000000;
JSON
{
"hex": "#795bae",
"rgb": {
"r": 121,
"g": 91,
"b": 174
},
"hsl": {
"h": 261.687,
"s": 33.878,
"l": 51.961
},
"oklch": {
"l": 0.539,
"c": 0.12842,
"h": 298.7
},
"luminance": 0.14603
}Semantic roles & 50–950 ramp
primary
#795BAE
secondary
#B7C5A0
accent
#CA5EA3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82