#795BB0#795BB0
#795BB0 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.0% C 0.131 H 298.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #795BB0 |
|---|---|
| RGB | rgb(121, 91, 176) |
| HSL | hsl(261, 35%, 52%) |
| HSV | hsv(261, 48%, 69%) |
| CMYK | cmyk(31.3%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(45.19, 30.93, -41.08) |
| CIE-LCH | lch(45.19, 51.42, 306.97°) |
| OKLab | oklab(54.02% 0.0619 -0.1156) |
| OKLCH | oklch(54.02% 0.131 298.2) |
| XYZ | xyz(19.4608, 14.6815, 42.8744) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.21
Deep Lavender
#8D5EB7
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 6.29
Slate Blue
#6A5ACD
ΔE00 6.37
Iris
#6258C4
ΔE00 6.54
Amethyst
#9B5FC0
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BB0 #92B05B
analogous
#5B68B0 #795BB0 #A35BB0
triadic
#795BB0 #B0795B #5BB079
tetradic
#795BB0 #B05B68 #92B05B #5BB0A3
square
#795BB0 #B05B68 #92B05B #5BB0A3
split-complementary
#795BB0 #B0A35B #68B05B
monochromatic
#412F62 #5C438B #795BB0 #9B84C4 #BCAED8
Accessibility & contrast
On white
5.33
#795BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#795BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BB0
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BB0 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#6D6B7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #795bb0; /* rgb */ color: rgb(121, 91, 176); /* oklch */ color: oklch(54.0% 0.131 298.2);
Tailwind
colors: {
custom: {
50: '#a28ac8',
500: '#795bb0',
950: '#000000',
},
}SCSS
$custom: #795bb0; $custom-light: #a28ac8; $custom-dark: #000000;
JSON
{
"hex": "#795bb0",
"rgb": {
"r": 121,
"g": 91,
"b": 176
},
"hsl": {
"h": 261.176,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.54017,
"c": 0.13111,
"h": 298.2
},
"luminance": 0.14682
}Semantic roles & 50–950 ramp
primary
#795BB0
secondary
#B9C6A1
accent
#CB5DA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82