#795FC4#795FC4
#795FC4 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.152 H 292.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #795FC4 |
|---|---|
| RGB | rgb(121, 95, 196) |
| HSL | hsl(255, 46%, 57%) |
| HSV | hsv(255, 52%, 77%) |
| CMYK | cmyk(38.3%, 51.5%, 0%, 23.1%) |
| CIE-LAB | lab(47.28, 33.95, -49.39) |
| CIE-LCH | lch(47.28, 59.93, 304.50°) |
| OKLab | oklab(55.94% 0.0585 -0.1399) |
| OKLCH | oklch(55.94% 0.152 292.7) |
| XYZ | xyz(21.9385, 16.2344, 54.1915) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.43
Slate Blue
#6A5ACD
ΔE00 3.72
Dark Periwinkle
#665FD1
ΔE00 4.54
Iris
#6258C4
ΔE00 4.89
Purpley
#8756E4
ΔE00 5.65
Deep Lavender
#8D5EB7
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FC4 #AAC45F
analogous
#5F77C4 #795FC4 #AC5FC4
triadic
#795FC4 #C4795F #5FC479
tetradic
#795FC4 #C45F77 #AAC45F #5FC4AC
square
#795FC4 #C45F77 #AAC45F #5FC4AC
split-complementary
#795FC4 #C4AC5F #77C45F
monochromatic
#412D7B #593EA8 #795FC4 #9E8CD4 #C4B8E5
Accessibility & contrast
On white
4.94
#795FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#795FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FC4
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FC4 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3671C8
Deuteranopia (green-blind)
#3A6EC2
Tritanopia (blue-blind)
#667388
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795fc4; /* rgb */ color: rgb(121, 95, 196); /* oklch */ color: oklch(55.9% 0.152 292.7);
Tailwind
colors: {
custom: {
50: '#a48dd6',
500: '#795fc4',
950: '#000000',
},
}SCSS
$custom: #795fc4; $custom-light: #a48dd6; $custom-dark: #000000;
JSON
{
"hex": "#795fc4",
"rgb": {
"r": 121,
"g": 95,
"b": 196
},
"hsl": {
"h": 255.446,
"s": 46.119,
"l": 57.059
},
"oklch": {
"l": 0.55944,
"c": 0.15163,
"h": 292.7
},
"luminance": 0.16235
}Semantic roles & 50–950 ramp
primary
#795FC4
secondary
#C9D4AB
accent
#D652B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83