#795FB9#795FB9
#795FB9 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.3% C 0.137 H 294.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #795FB9 |
|---|---|
| RGB | rgb(121, 95, 185) |
| HSL | hsl(257, 39%, 55%) |
| HSV | hsv(257, 49%, 73%) |
| CMYK | cmyk(34.6%, 48.6%, 0%, 27.5%) |
| CIE-LAB | lab(46.65, 30.95, -44.03) |
| CIE-LCH | lch(46.65, 53.82, 305.10°) |
| OKLab | oklab(55.27% 0.0575 -0.1242) |
| OKLCH | oklch(55.27% 0.137 294.8) |
| XYZ | xyz(20.7321, 15.7518, 47.8376) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 4.96
Royal Purple
#7851A9
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.10
Iris
#6258C4
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FB9 #9FB95F
analogous
#5F72B9 #795FB9 #A65FB9
triadic
#795FB9 #B9795F #5FB979
tetradic
#795FB9 #B95F72 #9FB95F #5FB9A6
square
#795FB9 #B95F72 #9FB95F #5FB9A6
split-complementary
#795FB9 #B9A65F #72B95F
monochromatic
#42306E #5B4398 #795FB9 #9D8ACC #C0B4DE
Accessibility & contrast
On white
5.06
#795FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#795FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FB9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FB9 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6FBC
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#6A7083
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #795fb9; /* rgb */ color: rgb(121, 95, 185); /* oklch */ color: oklch(55.3% 0.137 294.8);
Tailwind
colors: {
custom: {
50: '#a38dce',
500: '#795fb9',
950: '#000000',
},
}SCSS
$custom: #795fb9; $custom-light: #a38dce; $custom-dark: #000000;
JSON
{
"hex": "#795fb9",
"rgb": {
"r": 121,
"g": 95,
"b": 185
},
"hsl": {
"h": 257.333,
"s": 39.13,
"l": 54.902
},
"oklch": {
"l": 0.55266,
"c": 0.13685,
"h": 294.8
},
"luminance": 0.15752
}Semantic roles & 50–950 ramp
primary
#795FB9
secondary
#C2CDA7
accent
#CF59AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82