#795AA6#795AA6
#795AA6 is a mid, moderate violet. Relative luminance 0.141; OKLCH L 53.3% C 0.119 H 301.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #795AA6 |
|---|---|
| RGB | rgb(121, 90, 166) |
| HSL | hsl(264, 30%, 50%) |
| HSV | hsv(264, 46%, 65%) |
| CMYK | cmyk(27.1%, 45.8%, 0%, 34.9%) |
| CIE-LAB | lab(44.42, 28.93, -36.42) |
| CIE-LCH | lch(44.42, 46.52, 308.46°) |
| OKLab | oklab(53.26% 0.062 -0.102) |
| OKLCH | oklch(53.26% 0.119 301.3) |
| XYZ | xyz(18.4227, 14.1304, 37.8259) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.01
Deep Lavender
#8D5EB7
ΔE00 4.86
Dark Lavender
#856798
ΔE00 7.52
Amethyst
#9B5FC0
ΔE00 7.94
Iris
#6258C4
ΔE00 8.15
Light Indigo
#6D5ACF
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AA6 #87A65A
analogous
#5A61A6 #795AA6 #9F5AA6
triadic
#795AA6 #A6795A #5AA679
tetradic
#795AA6 #A65A61 #87A65A #5AA69F
square
#795AA6 #A65A61 #87A65A #5AA69F
split-complementary
#795AA6 #A69F5A #61A65A
monochromatic
#3F2F57 #5C447F #795AA6 #9982BB #BAAAD1
Accessibility & contrast
On white
5.49
#795AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#795AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795AA6
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795AA6 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4469A9
Deuteranopia (green-blind)
#4B69A4
Tritanopia (blue-blind)
#716778
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #795aa6; /* rgb */ color: rgb(121, 90, 166); /* oklch */ color: oklch(53.3% 0.119 301.3);
Tailwind
colors: {
custom: {
50: '#a189c1',
500: '#795aa6',
950: '#000000',
},
}SCSS
$custom: #795aa6; $custom-light: #a189c1; $custom-dark: #000000;
JSON
{
"hex": "#795aa6",
"rgb": {
"r": 121,
"g": 90,
"b": 166
},
"hsl": {
"h": 264.474,
"s": 29.921,
"l": 50.196
},
"oklch": {
"l": 0.53261,
"c": 0.11934,
"h": 301.3
},
"luminance": 0.1413
}Semantic roles & 50–950 ramp
primary
#795AA6
secondary
#B1BF9D
accent
#C6629D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81