#795EEC#795EEC
#795EEC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.205 H 287.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #795EEC |
|---|---|
| RGB | rgb(121, 94, 236) |
| HSL | hsl(251, 79%, 65%) |
| HSV | hsv(251, 60%, 93%) |
| CMYK | cmyk(48.7%, 60.2%, 0%, 7.5%) |
| CIE-LAB | lab(49.65, 45.82, -68.34) |
| CIE-LCH | lch(49.65, 82.28, 303.84°) |
| OKLab | oklab(58.52% 0.0599 -0.1956) |
| OKLCH | oklch(58.52% 0.205 287) |
| XYZ | xyz(27.0238, 18.1252, 81.4152) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.95
Purpley
#8756E4
ΔE00 3.51
Light Indigo
#6D5ACF
ΔE00 4.80
Dark Periwinkle
#665FD1
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.28
Iris
#6258C4
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EEC #D1EC5E
analogous
#5E8AEC #795EEC #C05EEC
triadic
#795EEC #EC795E #5EEC79
tetradic
#795EEC #EC5E8A #D1EC5E #5EECC0
square
#795EEC #EC5E8A #D1EC5E #5EECC0
split-complementary
#795EEC #ECC05E #8AEC5E
monochromatic
#3516BA #4B27E6 #795EEC #A795F2 #D4CBF9
Accessibility & contrast
On white
4.54
#795EEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#795EEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795EEC
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795EEC | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#517F9C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795eec; /* rgb */ color: rgb(121, 94, 236); /* oklch */ color: oklch(58.5% 0.205 287.0);
Tailwind
colors: {
custom: {
50: '#a88df3',
500: '#795eec',
950: '#000000',
},
}SCSS
$custom: #795eec; $custom-light: #a88df3; $custom-dark: #000000;
JSON
{
"hex": "#795eec",
"rgb": {
"r": 121,
"g": 94,
"b": 236
},
"hsl": {
"h": 251.408,
"s": 78.889,
"l": 64.706
},
"oklch": {
"l": 0.58518,
"c": 0.20456,
"h": 287
},
"luminance": 0.18126
}Semantic roles & 50–950 ramp
primary
#795EEC
secondary
#E2EBBB
accent
#DB0AB3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#100C17
muted
#7F7D85