#795EE2#795EE2
#795EE2 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.192 H 288.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #795EE2 |
|---|---|
| RGB | rgb(121, 94, 226) |
| HSL | hsl(252, 69%, 63%) |
| HSV | hsv(252, 58%, 89%) |
| CMYK | cmyk(46.5%, 58.4%, 0%, 11.4%) |
| CIE-LAB | lab(48.96, 42.96, -63.83) |
| CIE-LCH | lch(48.96, 76.93, 303.94°) |
| OKLab | oklab(57.79% 0.0603 -0.1823) |
| OKLCH | oklch(57.79% 0.192 288.3) |
| XYZ | xyz(25.6114, 17.5603, 73.9768) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 3.55
Light Indigo
#6D5ACF
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.18
Dark Periwinkle
#665FD1
ΔE00 4.21
Iris
#6258C4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EE2 #C7E25E
analogous
#5E85E2 #795EE2 #BB5EE2
triadic
#795EE2 #E2795E #5EE279
tetradic
#795EE2 #E25E85 #C7E25E #5EE2BB
square
#795EE2 #E25E85 #C7E25E #5EE2BB
split-complementary
#795EE2 #E2BB5E #85E25E
monochromatic
#3A1EA7 #4E2AD9 #795EE2 #A492EB #CFC6F5
Accessibility & contrast
On white
4.65
#795EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#795EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795EE2
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795EE2 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#577C97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #795ee2; /* rgb */ color: rgb(121, 94, 226); /* oklch */ color: oklch(57.8% 0.192 288.3);
Tailwind
colors: {
custom: {
50: '#a78dec',
500: '#795ee2',
950: '#000000',
},
}SCSS
$custom: #795ee2; $custom-light: #a78dec; $custom-dark: #000000;
JSON
{
"hex": "#795ee2",
"rgb": {
"r": 121,
"g": 94,
"b": 226
},
"hsl": {
"h": 252.273,
"s": 69.474,
"l": 62.745
},
"oklch": {
"l": 0.57795,
"c": 0.19202,
"h": 288.3
},
"luminance": 0.17561
}Semantic roles & 50–950 ramp
primary
#795EE2
secondary
#DCE6B6
accent
#D114AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84