#795CAE#795CAE
#795CAE is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.127 H 298.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #795CAE |
|---|---|
| RGB | rgb(121, 92, 174) |
| HSL | hsl(261, 34%, 52%) |
| HSV | hsv(261, 47%, 68%) |
| CMYK | cmyk(30.5%, 47.1%, 0%, 31.8%) |
| CIE-LAB | lab(45.32, 29.81, -39.70) |
| CIE-LCH | lch(45.32, 49.65, 306.90°) |
| OKLab | oklab(54.08% 0.0603 -0.1115) |
| OKLCH | oklch(54.08% 0.127 298.4) |
| XYZ | xyz(19.3505, 14.7751, 41.8686) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.44
Deep Lavender
#8D5EB7
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 6.70
Slate Blue
#6A5ACD
ΔE00 6.77
Iris
#6258C4
ΔE00 6.89
Amethyst
#9B5FC0
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CAE #91AE5C
analogous
#5C68AE #795CAE #A25CAE
triadic
#795CAE #AE795C #5CAE79
tetradic
#795CAE #AE5C68 #91AE5C #5CAEA2
square
#795CAE #AE5C68 #91AE5C #5CAEA2
split-complementary
#795CAE #AEA25C #68AE5C
monochromatic
#413060 #5C4489 #795CAE #9B85C2 #BCAED7
Accessibility & contrast
On white
5.31
#795CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#795CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CAE
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CAE | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#6E6B7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #795cae; /* rgb */ color: rgb(121, 92, 174); /* oklch */ color: oklch(54.1% 0.127 298.4);
Tailwind
colors: {
custom: {
50: '#a28ac6',
500: '#795cae',
950: '#000000',
},
}SCSS
$custom: #795cae; $custom-light: #a28ac6; $custom-dark: #000000;
JSON
{
"hex": "#795cae",
"rgb": {
"r": 121,
"g": 92,
"b": 174
},
"hsl": {
"h": 261.22,
"s": 33.607,
"l": 52.157
},
"oklch": {
"l": 0.54079,
"c": 0.12679,
"h": 298.4
},
"luminance": 0.14775
}Semantic roles & 50–950 ramp
primary
#795CAE
secondary
#B8C5A1
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82