#795AAA#795AAA
#795AAA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.5% C 0.125 H 300.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #795AAA |
|---|---|
| RGB | rgb(121, 90, 170) |
| HSL | hsl(263, 32%, 51%) |
| HSV | hsv(263, 47%, 67%) |
| CMYK | cmyk(28.8%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(44.63, 29.96, -38.45) |
| CIE-LCH | lch(44.63, 48.74, 307.92°) |
| OKLab | oklab(53.49% 0.0625 -0.1079) |
| OKLCH | oklch(53.49% 0.125 300.1) |
| XYZ | xyz(18.7953, 14.2795, 39.7884) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.79
Deep Lavender
#8D5EB7
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 7.41
Iris
#6258C4
ΔE00 7.45
Slate Blue
#6A5ACD
ΔE00 7.46
Amethyst
#9B5FC0
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AAA #8BAA5A
analogous
#5A63AA #795AAA #A15AAA
triadic
#795AAA #AA795A #5AAA79
tetradic
#795AAA #AA5A63 #8BAA5A #5AAAA1
square
#795AAA #AA5A63 #8BAA5A #5AAAA1
split-complementary
#795AAA #AAA15A #63AA5A
monochromatic
#402F5B #5C4483 #795AAA #9A82BF #BBABD4
Accessibility & contrast
On white
5.45
#795AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#795AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795AAA
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795AAA | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#6F687A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #795aaa; /* rgb */ color: rgb(121, 90, 170); /* oklch */ color: oklch(53.5% 0.125 300.1);
Tailwind
colors: {
custom: {
50: '#a289c4',
500: '#795aaa',
950: '#000000',
},
}SCSS
$custom: #795aaa; $custom-light: #a289c4; $custom-dark: #000000;
JSON
{
"hex": "#795aaa",
"rgb": {
"r": 121,
"g": 90,
"b": 170
},
"hsl": {
"h": 263.25,
"s": 32,
"l": 50.98
},
"oklch": {
"l": 0.53489,
"c": 0.12471,
"h": 300.1
},
"luminance": 0.1428
}Semantic roles & 50–950 ramp
primary
#795AAA
secondary
#B4C29E
accent
#C860A0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B12
muted
#7F7C81