#795ABB#795ABB
#795ABB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.5% C 0.147 H 295.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #795ABB |
|---|---|
| RGB | rgb(121, 90, 187) |
| HSL | hsl(259, 42%, 54%) |
| HSV | hsv(259, 52%, 73%) |
| CMYK | cmyk(35.3%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(45.59, 34.44, -46.89) |
| CIE-LCH | lch(45.59, 58.17, 306.30°) |
| OKLab | oklab(54.51% 0.0643 -0.1325) |
| OKLCH | oklch(54.51% 0.147 295.9) |
| XYZ | xyz(20.5087, 14.9648, 48.8121) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.39
Slate Blue
#6A5ACD
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 4.94
Iris
#6258C4
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ABB #9CBB5A
analogous
#5A6CBB #795ABB #AA5ABB
triadic
#795ABB #BB795A #5ABB79
tetradic
#795ABB #BB5A6C #9CBB5A #5ABBAA
square
#795ABB #BB5A6C #9CBB5A #5ABBAA
split-complementary
#795ABB #BBAA5A #6CBB5A
monochromatic
#422D6D #5C3F99 #795ABB #9C85CD #BFB1DF
Accessibility & contrast
On white
5.26
#795ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#795ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ABB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ABB | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346DBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#6A6D82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #795abb; /* rgb */ color: rgb(121, 90, 187); /* oklch */ color: oklch(54.5% 0.147 295.9);
Tailwind
colors: {
custom: {
50: '#a389d0',
500: '#795abb',
950: '#000000',
},
}SCSS
$custom: #795abb; $custom-light: #a389d0; $custom-dark: #000000;
JSON
{
"hex": "#795abb",
"rgb": {
"r": 121,
"g": 90,
"b": 187
},
"hsl": {
"h": 259.175,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.54512,
"c": 0.14732,
"h": 295.9
},
"luminance": 0.14965
}Semantic roles & 50–950 ramp
primary
#795ABB
secondary
#C0CDA4
accent
#D156AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82