#795FD5#795FD5
#795FD5 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.174 H 289.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #795FD5 |
|---|---|
| RGB | rgb(121, 95, 213) |
| HSL | hsl(253, 58%, 60%) |
| HSV | hsv(253, 55%, 84%) |
| CMYK | cmyk(43.2%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(48.33, 38.69, -57.47) |
| CIE-LCH | lch(48.33, 69.28, 303.95°) |
| OKLab | oklab(57.06% 0.0592 -0.1636) |
| OKLCH | oklch(57.06% 0.174 289.9) |
| XYZ | xyz(23.9843, 17.0526, 64.9657) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 3.64
Purpley
#8756E4
ΔE00 3.87
Mediumslateblue
#7B68EE
ΔE00 4.68
Iris
#6258C4
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FD5 #BBD55F
analogous
#5F80D5 #795FD5 #B45FD5
triadic
#795FD5 #D5795F #5FD579
tetradic
#795FD5 #D55F80 #BBD55F #5FD5B4
square
#795FD5 #D55F80 #BBD55F #5FD5B4
split-complementary
#795FD5 #D5B45F #80D55F
monochromatic
#3E2793 #5333C3 #795FD5 #A28FE2 #CAC0EE
Accessibility & contrast
On white
4.76
#795FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#795FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FD5
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FD5 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E75D9
Deuteranopia (green-blind)
#2370D2
Tritanopia (blue-blind)
#5E7991
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795fd5; /* rgb */ color: rgb(121, 95, 213); /* oklch */ color: oklch(57.1% 0.174 289.9);
Tailwind
colors: {
custom: {
50: '#a58de3',
500: '#795fd5',
950: '#000000',
},
}SCSS
$custom: #795fd5; $custom-light: #a58de3; $custom-dark: #000000;
JSON
{
"hex": "#795fd5",
"rgb": {
"r": 121,
"g": 95,
"b": 213
},
"hsl": {
"h": 253.22,
"s": 58.416,
"l": 60.392
},
"oklch": {
"l": 0.57057,
"c": 0.174,
"h": 289.9
},
"luminance": 0.17053
}Semantic roles & 50–950 ramp
primary
#795FD5
secondary
#D5DEB1
accent
#C61FA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84