#795CA6#795CA6
#795CA6 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.6% C 0.116 H 300.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #795CA6 |
|---|---|
| RGB | rgb(121, 92, 166) |
| HSL | hsl(264, 29%, 51%) |
| HSV | hsv(264, 45%, 65%) |
| CMYK | cmyk(27.1%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(44.90, 27.74, -35.66) |
| CIE-LCH | lch(44.90, 45.18, 307.88°) |
| OKLab | oklab(53.63% 0.0591 -0.0998) |
| OKLCH | oklch(53.63% 0.116 300.6) |
| XYZ | xyz(18.5937, 14.4723, 37.8829) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.66
Deep Lavender
#8D5EB7
ΔE00 4.85
Dark Lavender
#856798
ΔE00 7.09
Amethyst
#9B5FC0
ΔE00 7.92
Iris
#6258C4
ΔE00 8.26
Light Indigo
#6D5ACF
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CA6 #89A65C
analogous
#5C64A6 #795CA6 #9E5CA6
triadic
#795CA6 #A6795C #5CA679
tetradic
#795CA6 #A65C64 #89A65C #5CA69E
square
#795CA6 #A65C64 #89A65C #5CA69E
split-complementary
#795CA6 #A69E5C #64A65C
monochromatic
#3F3058 #5C467F #795CA6 #9A84BC #BAABD1
Accessibility & contrast
On white
5.39
#795CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#795CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CA6
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CA6 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#716979
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #795ca6; /* rgb */ color: rgb(121, 92, 166); /* oklch */ color: oklch(53.6% 0.116 300.6);
Tailwind
colors: {
custom: {
50: '#a18ac1',
500: '#795ca6',
950: '#000000',
},
}SCSS
$custom: #795ca6; $custom-light: #a18ac1; $custom-dark: #000000;
JSON
{
"hex": "#795ca6",
"rgb": {
"r": 121,
"g": 92,
"b": 166
},
"hsl": {
"h": 263.514,
"s": 29.365,
"l": 50.588
},
"oklch": {
"l": 0.53625,
"c": 0.11596,
"h": 300.6
},
"luminance": 0.14472
}Semantic roles & 50–950 ramp
primary
#795CA6
secondary
#B2BF9E
accent
#C6629F
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81