#795DBB#795DBB
#795DBB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.0% C 0.143 H 295.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #795DBB |
|---|---|
| RGB | rgb(121, 93, 187) |
| HSL | hsl(258, 41%, 55%) |
| HSV | hsv(258, 50%, 73%) |
| CMYK | cmyk(35.3%, 50.3%, 0%, 26.7%) |
| CIE-LAB | lab(46.29, 32.67, -45.77) |
| CIE-LCH | lch(46.29, 56.23, 305.52°) |
| OKLab | oklab(55.03% 0.0604 -0.1293) |
| OKLCH | oklch(55.03% 0.143 295) |
| XYZ | xyz(20.7669, 15.4811, 48.8981) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.48
Slate Blue
#6A5ACD
ΔE00 4.65
Royal Purple
#7851A9
ΔE00 4.72
Deep Lavender
#8D5EB7
ΔE00 4.85
Iris
#6258C4
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DBB #9FBB5D
analogous
#5D70BB #795DBB #A85DBB
triadic
#795DBB #BB795D #5DBB79
tetradic
#795DBB #BB5D70 #9FBB5D #5DBBA8
square
#795DBB #BB5D70 #9FBB5D #5DBBA8
split-complementary
#795DBB #BBA85D #70BB5D
monochromatic
#422F6F #5B419A #795DBB #9D88CD #C0B3DF
Accessibility & contrast
On white
5.13
#795DBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#795DBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DBB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DBB | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#6A6F83
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #795dbb; /* rgb */ color: rgb(121, 93, 187); /* oklch */ color: oklch(55.0% 0.143 295.0);
Tailwind
colors: {
custom: {
50: '#a38bd0',
500: '#795dbb',
950: '#000000',
},
}SCSS
$custom: #795dbb; $custom-light: #a38bd0; $custom-dark: #000000;
JSON
{
"hex": "#795dbb",
"rgb": {
"r": 121,
"g": 93,
"b": 187
},
"hsl": {
"h": 257.872,
"s": 40.87,
"l": 54.902
},
"oklch": {
"l": 0.55033,
"c": 0.14267,
"h": 295
},
"luminance": 0.15482
}Semantic roles & 50–950 ramp
primary
#795DBB
secondary
#C2CEA6
accent
#D157AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82