#795CAC#795CAC
#795CAC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.0% C 0.124 H 298.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #795CAC |
|---|---|
| RGB | rgb(121, 92, 172) |
| HSL | hsl(262, 33%, 52%) |
| HSV | hsv(262, 47%, 67%) |
| CMYK | cmyk(29.7%, 46.5%, 0%, 32.5%) |
| CIE-LAB | lab(45.22, 29.29, -38.70) |
| CIE-LCH | lch(45.22, 48.53, 307.12°) |
| OKLab | oklab(53.96% 0.06 -0.1086) |
| OKLCH | oklch(53.96% 0.124 298.9) |
| XYZ | xyz(19.1569, 14.6976, 40.8494) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.42
Deep Lavender
#8D5EB7
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 7.09
Slate Blue
#6A5ACD
ΔE00 7.14
Iris
#6258C4
ΔE00 7.21
Amethyst
#9B5FC0
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CAC #8FAC5C
analogous
#5C67AC #795CAC #A15CAC
triadic
#795CAC #AC795C #5CAC79
tetradic
#795CAC #AC5C67 #8FAC5C #5CACA1
square
#795CAC #AC5C67 #8FAC5C #5CACA1
split-complementary
#795CAC #ACA15C #67AC5C
monochromatic
#40305E #5C4486 #795CAC #9A85C1 #BCADD5
Accessibility & contrast
On white
5.33
#795CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#795CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CAC
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CAC | 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)
#446BAF
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#6F6A7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #795cac; /* rgb */ color: rgb(121, 92, 172); /* oklch */ color: oklch(54.0% 0.124 298.9);
Tailwind
colors: {
custom: {
50: '#a28ac5',
500: '#795cac',
950: '#000000',
},
}SCSS
$custom: #795cac; $custom-light: #a28ac5; $custom-dark: #000000;
JSON
{
"hex": "#795cac",
"rgb": {
"r": 121,
"g": 92,
"b": 172
},
"hsl": {
"h": 261.75,
"s": 32.52,
"l": 51.765
},
"oklch": {
"l": 0.53964,
"c": 0.12409,
"h": 298.9
},
"luminance": 0.14698
}Semantic roles & 50–950 ramp
primary
#795CAC
secondary
#B7C3A0
accent
#C95FA2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82