#795DDC#795DDC
#795DDC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.186 H 289.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #795DDC |
|---|---|
| RGB | rgb(121, 93, 220) |
| HSL | hsl(253, 64%, 61%) |
| HSV | hsv(253, 58%, 86%) |
| CMYK | cmyk(45%, 57.7%, 0%, 13.7%) |
| CIE-LAB | lab(48.34, 41.82, -61.43) |
| CIE-LCH | lch(48.34, 74.32, 304.25°) |
| OKLab | oklab(57.21% 0.0615 -0.1753) |
| OKLCH | oklch(57.21% 0.186 289.3) |
| XYZ | xyz(24.7141, 17.0600, 69.6870) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.97
Purpley
#8756E4
ΔE00 3.16
Slate Blue
#6A5ACD
ΔE00 3.54
Dark Periwinkle
#665FD1
ΔE00 3.90
Mediumslateblue
#7B68EE
ΔE00 4.34
Iris
#6258C4
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DDC #C0DC5D
analogous
#5D81DC #795DDC #B95DDC
triadic
#795DDC #DC795D #5DDC79
tetradic
#795DDC #DC5D81 #C0DC5D #5DDCB9
square
#795DDC #DC5D81 #C0DC5D #5DDCB9
split-complementary
#795DDC #DCB95D #81DC5D
monochromatic
#3D229D #512DCF #795DDC #A38FE7 #CCC2F2
Accessibility & contrast
On white
4.76
#795DDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#795DDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DDC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DDC | 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)
#0075E0
Deuteranopia (green-blind)
#0470D9
Tritanopia (blue-blind)
#5B7994
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795ddc; /* rgb */ color: rgb(121, 93, 220); /* oklch */ color: oklch(57.2% 0.186 289.3);
Tailwind
colors: {
custom: {
50: '#a68ce8',
500: '#795ddc',
950: '#000000',
},
}SCSS
$custom: #795ddc; $custom-light: #a68ce8; $custom-dark: #000000;
JSON
{
"hex": "#795ddc",
"rgb": {
"r": 121,
"g": 93,
"b": 220
},
"hsl": {
"h": 253.228,
"s": 64.467,
"l": 61.373
},
"oklch": {
"l": 0.57209,
"c": 0.18576,
"h": 289.3
},
"luminance": 0.17061
}Semantic roles & 50–950 ramp
primary
#795DDC
secondary
#D8E2B3
accent
#CC19A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84