#795DCE#795DCE
#795DCE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.168 H 291.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #795DCE |
|---|---|
| RGB | rgb(121, 93, 206) |
| HSL | hsl(255, 54%, 59%) |
| HSV | hsv(255, 55%, 81%) |
| CMYK | cmyk(41.3%, 54.9%, 0%, 19.2%) |
| CIE-LAB | lab(47.43, 37.89, -54.91) |
| CIE-LCH | lch(47.43, 66.71, 304.61°) |
| OKLab | oklab(56.25% 0.0615 -0.1561) |
| OKLCH | oklch(56.25% 0.168 291.5) |
| XYZ | xyz(22.9370, 16.3492, 60.3278) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.45
Slate Blue
#6A5ACD
ΔE00 2.97
Dark Periwinkle
#665FD1
ΔE00 3.88
Purpley
#8756E4
ΔE00 4.21
Iris
#6258C4
ΔE00 4.68
Mediumslateblue
#7B68EE
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DCE #B2CE5D
analogous
#5D79CE #795DCE #B15DCE
triadic
#795DCE #CE795D #5DCE79
tetradic
#795DCE #CE5D79 #B2CE5D #5DCEB1
square
#795DCE #CE5D79 #B2CE5D #5DCEB1
split-complementary
#795DCE #CEB15D #79CE5D
monochromatic
#402988 #5737B7 #795DCE #A08CDC #C7BBEA
Accessibility & contrast
On white
4.92
#795DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#795DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DCE
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DCE | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#62758C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795dce; /* rgb */ color: rgb(121, 93, 206); /* oklch */ color: oklch(56.3% 0.168 291.5);
Tailwind
colors: {
custom: {
50: '#a58cde',
500: '#795dce',
950: '#000000',
},
}SCSS
$custom: #795dce; $custom-light: #a58cde; $custom-dark: #000000;
JSON
{
"hex": "#795dce",
"rgb": {
"r": 121,
"g": 93,
"b": 206
},
"hsl": {
"h": 254.867,
"s": 53.555,
"l": 58.627
},
"oklch": {
"l": 0.56251,
"c": 0.16775,
"h": 291.5
},
"luminance": 0.1635
}Semantic roles & 50–950 ramp
primary
#795DCE
secondary
#CFDAAD
accent
#DD4BB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83