#795FD8#795FD8
#795FD8 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.178 H 289.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #795FD8 |
|---|---|
| RGB | rgb(121, 95, 216) |
| HSL | hsl(253, 61%, 61%) |
| HSV | hsv(253, 56%, 85%) |
| CMYK | cmyk(44%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(48.52, 39.54, -58.86) |
| CIE-LCH | lch(48.52, 70.91, 303.89°) |
| OKLab | oklab(57.26% 0.0593 -0.1677) |
| OKLCH | oklch(57.26% 0.178 289.5) |
| XYZ | xyz(24.3685, 17.2064, 66.9896) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.90
Slate Blue
#6A5ACD
ΔE00 3.44
Dark Periwinkle
#665FD1
ΔE00 3.68
Purpley
#8756E4
ΔE00 3.69
Mediumslateblue
#7B68EE
ΔE00 4.32
Iris
#6258C4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FD8 #BED85F
analogous
#5F81D8 #795FD8 #B65FD8
triadic
#795FD8 #D8795F #5FD879
tetradic
#795FD8 #D85F81 #BED85F #5FD8B6
square
#795FD8 #D85F81 #BED85F #5FD8B6
split-complementary
#795FD8 #D8B65F #81D85F
monochromatic
#3E2598 #5231C9 #795FD8 #A290E4 #CBC1F0
Accessibility & contrast
On white
4.73
#795FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#795FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FD8
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FD8 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1876DC
Deuteranopia (green-blind)
#1D70D5
Tritanopia (blue-blind)
#5D7992
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795fd8; /* rgb */ color: rgb(121, 95, 216); /* oklch */ color: oklch(57.3% 0.178 289.5);
Tailwind
colors: {
custom: {
50: '#a68de5',
500: '#795fd8',
950: '#000000',
},
}SCSS
$custom: #795fd8; $custom-light: #a68de5; $custom-dark: #000000;
JSON
{
"hex": "#795fd8",
"rgb": {
"r": 121,
"g": 95,
"b": 216
},
"hsl": {
"h": 252.893,
"s": 60.804,
"l": 60.98
},
"oklch": {
"l": 0.57261,
"c": 0.17788,
"h": 289.5
},
"luminance": 0.17207
}Semantic roles & 50–950 ramp
primary
#795FD8
secondary
#D6E0B3
accent
#C81DA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84