#795EE9#795EE9
#795EE9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.3% C 0.201 H 287.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #795EE9 |
|---|---|
| RGB | rgb(121, 94, 233) |
| HSL | hsl(252, 76%, 64%) |
| HSV | hsv(252, 60%, 91%) |
| CMYK | cmyk(48.1%, 59.7%, 0%, 8.6%) |
| CIE-LAB | lab(49.44, 44.96, -67.00) |
| CIE-LCH | lch(49.44, 80.68, 303.86°) |
| OKLab | oklab(58.3% 0.06 -0.1916) |
| OKLCH | oklch(58.3% 0.201 287.4) |
| XYZ | xyz(26.5916, 17.9524, 79.1390) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.08
Purpley
#8756E4
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 4.93
Iris
#6258C4
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EE9 #CEE95E
analogous
#5E89E9 #795EE9 #BF5EE9
triadic
#795EE9 #E9795E #5EE979
tetradic
#795EE9 #E95E89 #CEE95E #5EE9BF
square
#795EE9 #E95E89 #CEE95E #5EE9BF
split-complementary
#795EE9 #E9BF5E #89E95E
monochromatic
#3719B4 #4C28E2 #795EE9 #A694F0 #D3CAF8
Accessibility & contrast
On white
4.57
#795EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#795EE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795EE9
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795EE9 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#537E9B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795ee9; /* rgb */ color: rgb(121, 94, 233); /* oklch */ color: oklch(58.3% 0.201 287.4);
Tailwind
colors: {
custom: {
50: '#a78df1',
500: '#795ee9',
950: '#000000',
},
}SCSS
$custom: #795ee9; $custom-light: #a78df1; $custom-dark: #000000;
JSON
{
"hex": "#795ee9",
"rgb": {
"r": 121,
"g": 94,
"b": 233
},
"hsl": {
"h": 251.655,
"s": 75.956,
"l": 64.118
},
"oklch": {
"l": 0.58299,
"c": 0.20082,
"h": 287.4
},
"luminance": 0.17954
}Semantic roles & 50–950 ramp
primary
#795EE9
secondary
#E0EAB9
accent
#D80DB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85