#795EEF#795EEF
#795EEF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.208 H 286.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #795EEF |
|---|---|
| RGB | rgb(121, 94, 239) |
| HSL | hsl(251, 82%, 65%) |
| HSV | hsv(251, 61%, 94%) |
| CMYK | cmyk(49.4%, 60.7%, 0%, 6.3%) |
| CIE-LAB | lab(49.86, 46.68, -69.68) |
| CIE-LCH | lch(49.86, 83.87, 303.82°) |
| OKLab | oklab(58.74% 0.0597 -0.1995) |
| OKLCH | oklch(58.74% 0.208 286.7) |
| XYZ | xyz(27.4633, 18.3011, 83.7300) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.87
Purpley
#8756E4
ΔE00 3.69
Light Indigo
#6D5ACF
ΔE00 5.16
Dark Periwinkle
#665FD1
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.63
Iris
#6258C4
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EEF #D4EF5E
analogous
#5E8CEF #795EEF #C15EEF
triadic
#795EEF #EF795E #5EEF79
tetradic
#795EEF #EF5E8C #D4EF5E #5EEFC1
square
#795EEF #EF5E8C #D4EF5E #5EEFC1
split-complementary
#795EEF #EFC15E #8CEF5E
monochromatic
#3313C0 #4B26E9 #795EEF #A796F5 #D6CDFA
Accessibility & contrast
On white
4.51
#795EEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#795EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795EEF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795EEF | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#4E809E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #795eef; /* rgb */ color: rgb(121, 94, 239); /* oklch */ color: oklch(58.7% 0.208 286.7);
Tailwind
colors: {
custom: {
50: '#a88df5',
500: '#795eef',
950: '#000000',
},
}SCSS
$custom: #795eef; $custom-light: #a88df5; $custom-dark: #000000;
JSON
{
"hex": "#795eef",
"rgb": {
"r": 121,
"g": 94,
"b": 239
},
"hsl": {
"h": 251.172,
"s": 81.921,
"l": 65.294
},
"oklch": {
"l": 0.5874,
"c": 0.20829,
"h": 286.7
},
"luminance": 0.18302
}Semantic roles & 50–950 ramp
primary
#795EEF
secondary
#E4EDBC
accent
#DE07B6
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85