#795DCD#795DCD
#795DCD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.166 H 291.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #795DCD |
|---|---|
| RGB | rgb(121, 93, 205) |
| HSL | hsl(255, 53%, 58%) |
| HSV | hsv(255, 55%, 80%) |
| CMYK | cmyk(41%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.37, 37.61, -54.43) |
| CIE-LCH | lch(47.37, 66.16, 304.64°) |
| OKLab | oklab(56.18% 0.0614 -0.1547) |
| OKLCH | oklch(56.18% 0.166 291.7) |
| XYZ | xyz(22.8160, 16.3008, 59.6900) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 2.99
Dark Periwinkle
#665FD1
ΔE00 3.93
Purpley
#8756E4
ΔE00 4.31
Iris
#6258C4
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DCD #B1CD5D
analogous
#5D79CD #795DCD #B15DCD
triadic
#795DCD #CD795D #5DCD79
tetradic
#795DCD #CD5D79 #B1CD5D #5DCDB1
square
#795DCD #CD5D79 #B1CD5D #5DCDB1
split-complementary
#795DCD #CDB15D #79CD5D
monochromatic
#412986 #5738B5 #795DCD #A08CDB #C6BBEA
Accessibility & contrast
On white
4.93
#795DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#795DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DCD
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DCD | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#62758C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795dcd; /* rgb */ color: rgb(121, 93, 205); /* oklch */ color: oklch(56.2% 0.166 291.7);
Tailwind
colors: {
custom: {
50: '#a48cdd',
500: '#795dcd',
950: '#000000',
},
}SCSS
$custom: #795dcd; $custom-light: #a48cdd; $custom-dark: #000000;
JSON
{
"hex": "#795dcd",
"rgb": {
"r": 121,
"g": 93,
"b": 205
},
"hsl": {
"h": 255,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.56185,
"c": 0.16645,
"h": 291.7
},
"luminance": 0.16301
}Semantic roles & 50–950 ramp
primary
#795DCD
secondary
#CED9AD
accent
#DC4CB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83