#795EAE#795EAE
#795EAE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.4% C 0.123 H 297.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #795EAE |
|---|---|
| RGB | rgb(121, 94, 174) |
| HSL | hsl(260, 33%, 53%) |
| HSV | hsv(260, 46%, 68%) |
| CMYK | cmyk(30.5%, 46%, 0%, 31.8%) |
| CIE-LAB | lab(45.81, 28.62, -38.94) |
| CIE-LCH | lch(45.81, 48.33, 306.31°) |
| OKLab | oklab(54.44% 0.0575 -0.1093) |
| OKLCH | oklch(54.44% 0.124 297.7) |
| XYZ | xyz(19.5260, 15.1261, 41.9271) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.08
Deep Lavender
#8D5EB7
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 6.83
Slate Blue
#6A5ACD
ΔE00 6.89
Iris
#6258C4
ΔE00 7.04
Amethyst
#9B5FC0
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EAE #93AE5E
analogous
#5E6BAE #795EAE #A15EAE
triadic
#795EAE #AE795E #5EAE79
tetradic
#795EAE #AE5E6B #93AE5E #5EAEA1
square
#795EAE #AE5E6B #93AE5E #5EAEA1
split-complementary
#795EAE #AEA15E #6BAE5E
monochromatic
#413161 #5C458A #795EAE #9B87C2 #BDAFD7
Accessibility & contrast
On white
5.22
#795EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#795EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795EAE
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795EAE | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#6E6D7E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #795eae; /* rgb */ color: rgb(121, 94, 174); /* oklch */ color: oklch(54.4% 0.123 297.7);
Tailwind
colors: {
custom: {
50: '#a28cc6',
500: '#795eae',
950: '#000000',
},
}SCSS
$custom: #795eae; $custom-light: #a28cc6; $custom-dark: #000000;
JSON
{
"hex": "#795eae",
"rgb": {
"r": 121,
"g": 94,
"b": 174
},
"hsl": {
"h": 260.25,
"s": 33.058,
"l": 52.549
},
"oklch": {
"l": 0.54441,
"c": 0.1235,
"h": 297.7
},
"luminance": 0.15126
}Semantic roles & 50–950 ramp
primary
#795EAE
secondary
#BAC5A3
accent
#C95FA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82