#795CAF#795CAF
#795CAF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.128 H 298.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #795CAF |
|---|---|
| RGB | rgb(121, 92, 175) |
| HSL | hsl(261, 34%, 52%) |
| HSV | hsv(261, 47%, 69%) |
| CMYK | cmyk(30.9%, 47.4%, 0%, 31.4%) |
| CIE-LAB | lab(45.38, 30.07, -40.21) |
| CIE-LCH | lch(45.38, 50.21, 306.80°) |
| OKLab | oklab(54.14% 0.0604 -0.113) |
| OKLCH | oklch(54.14% 0.128 298.1) |
| XYZ | xyz(19.4483, 14.8142, 42.3839) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.47
Deep Lavender
#8D5EB7
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 6.51
Slate Blue
#6A5ACD
ΔE00 6.59
Iris
#6258C4
ΔE00 6.74
Amethyst
#9B5FC0
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CAF #92AF5C
analogous
#5C69AF #795CAF #A25CAF
triadic
#795CAF #AF795C #5CAF79
tetradic
#795CAF #AF5C69 #92AF5C #5CAFA2
square
#795CAF #AF5C69 #92AF5C #5CAFA2
split-complementary
#795CAF #AFA25C #69AF5C
monochromatic
#413061 #5C448A #795CAF #9B85C3 #BCAED7
Accessibility & contrast
On white
5.30
#795CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#795CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CAF
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CAF | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#6E6B7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #795caf; /* rgb */ color: rgb(121, 92, 175); /* oklch */ color: oklch(54.1% 0.128 298.1);
Tailwind
colors: {
custom: {
50: '#a28ac7',
500: '#795caf',
950: '#000000',
},
}SCSS
$custom: #795caf; $custom-light: #a28ac7; $custom-dark: #000000;
JSON
{
"hex": "#795caf",
"rgb": {
"r": 121,
"g": 92,
"b": 175
},
"hsl": {
"h": 260.964,
"s": 34.156,
"l": 52.353
},
"oklch": {
"l": 0.54137,
"c": 0.12814,
"h": 298.1
},
"luminance": 0.14814
}Semantic roles & 50–950 ramp
primary
#795CAF
secondary
#B9C5A1
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82