#795EE4#795EE4
#795EE4 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.195 H 288.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #795EE4 |
|---|---|
| RGB | rgb(121, 94, 228) |
| HSL | hsl(252, 71%, 63%) |
| HSV | hsv(252, 59%, 89%) |
| CMYK | cmyk(46.9%, 58.8%, 0%, 10.6%) |
| CIE-LAB | lab(49.09, 43.53, -64.74) |
| CIE-LCH | lch(49.09, 78.01, 303.92°) |
| OKLab | oklab(57.94% 0.0602 -0.185) |
| OKLCH | oklch(57.94% 0.195 288) |
| XYZ | xyz(25.8874, 17.6707, 75.4305) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.24
Mediumslateblue
#7B68EE
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 3.87
Dark Periwinkle
#665FD1
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.39
Iris
#6258C4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EE4 #C9E45E
analogous
#5E86E4 #795EE4 #BC5EE4
triadic
#795EE4 #E4795E #5EE479
tetradic
#795EE4 #E45E86 #C9E45E #5EE4BC
square
#795EE4 #E45E86 #C9E45E #5EE4BC
split-complementary
#795EE4 #E4BC5E #86E45E
monochromatic
#391DAB #4D2ADB #795EE4 #A592ED #D0C7F6
Accessibility & contrast
On white
4.63
#795EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#795EE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795EE4
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795EE4 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#567D98
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #795ee4; /* rgb */ color: rgb(121, 94, 228); /* oklch */ color: oklch(57.9% 0.195 288.0);
Tailwind
colors: {
custom: {
50: '#a78ded',
500: '#795ee4',
950: '#000000',
},
}SCSS
$custom: #795ee4; $custom-light: #a78ded; $custom-dark: #000000;
JSON
{
"hex": "#795ee4",
"rgb": {
"r": 121,
"g": 94,
"b": 228
},
"hsl": {
"h": 252.09,
"s": 71.277,
"l": 63.137
},
"oklch": {
"l": 0.57938,
"c": 0.19455,
"h": 288
},
"luminance": 0.17672
}Semantic roles & 50–950 ramp
primary
#795EE4
secondary
#DDE7B7
accent
#D312AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84