#795AEE#795AEE
#795AEE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.212 H 287.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #795AEE |
|---|---|
| RGB | rgb(121, 90, 238) |
| HSL | hsl(253, 81%, 64%) |
| HSV | hsv(253, 62%, 93%) |
| CMYK | cmyk(49.2%, 62.2%, 0%, 6.7%) |
| CIE-LAB | lab(48.94, 48.63, -70.61) |
| CIE-LCH | lch(48.94, 85.73, 304.55°) |
| OKLab | oklab(58.05% 0.0638 -0.2023) |
| OKLCH | oklch(58.05% 0.212 287.5) |
| XYZ | xyz(26.9694, 17.5491, 82.8386) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.05
Mediumslateblue
#7B68EE
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.37
Iris
#6258C4
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AEE #CFEE5A
analogous
#5A85EE #795AEE #C35AEE
triadic
#795AEE #EE795A #5AEE79
tetradic
#795AEE #EE5A85 #CFEE5A #5AEEC3
square
#795AEE #EE5A85 #CFEE5A #5AEEC3
split-complementary
#795AEE #EEC35A #85EE5A
monochromatic
#3613BA #4C23E8 #795AEE #A691F4 #D3C9F9
Accessibility & contrast
On white
4.66
#795AEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#795AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795AEE
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795AEE | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#507D9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #795aee; /* rgb */ color: rgb(121, 90, 238); /* oklch */ color: oklch(58.1% 0.212 287.5);
Tailwind
colors: {
custom: {
50: '#a88af4',
500: '#795aee',
950: '#000000',
},
}SCSS
$custom: #795aee; $custom-light: #a88af4; $custom-dark: #000000;
JSON
{
"hex": "#795aee",
"rgb": {
"r": 121,
"g": 90,
"b": 238
},
"hsl": {
"h": 252.568,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.5805,
"c": 0.21209,
"h": 287.5
},
"luminance": 0.1755
}Semantic roles & 50–950 ramp
primary
#795AEE
secondary
#E1ECB8
accent
#DE08B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85