#795CEF#795CEF
#795CEF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.4% C 0.211 H 287.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #795CEF |
|---|---|
| RGB | rgb(121, 92, 239) |
| HSL | hsl(252, 82%, 65%) |
| HSV | hsv(252, 62%, 94%) |
| CMYK | cmyk(49.4%, 61.5%, 0%, 6.3%) |
| CIE-LAB | lab(49.44, 47.80, -70.37) |
| CIE-LCH | lch(49.44, 85.07, 304.19°) |
| OKLab | oklab(58.43% 0.0617 -0.2016) |
| OKLCH | oklch(58.43% 0.211 287) |
| XYZ | xyz(27.2877, 17.9500, 83.6715) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.36
Mediumslateblue
#7B68EE
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 5.00
Dark Periwinkle
#665FD1
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.48
Iris
#6258C4
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CEF #D2EF5C
analogous
#5C88EF #795CEF #C35CEF
triadic
#795CEF #EF795C #5CEF79
tetradic
#795CEF #EF5C88 #D2EF5C #5CEFC3
square
#795CEF #EF5C88 #D2EF5C #5CEFC3
split-complementary
#795CEF #EFC35C #88EF5C
monochromatic
#3413BE #4B24EA #795CEF #A794F4 #D5CBFA
Accessibility & contrast
On white
4.57
#795CEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#795CEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795CEF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795CEF | 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)
#0079F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#4F7F9D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #795cef; /* rgb */ color: rgb(121, 92, 239); /* oklch */ color: oklch(58.4% 0.211 287.0);
Tailwind
colors: {
custom: {
50: '#a88bf5',
500: '#795cef',
950: '#000000',
},
}SCSS
$custom: #795cef; $custom-light: #a88bf5; $custom-dark: #000000;
JSON
{
"hex": "#795cef",
"rgb": {
"r": 121,
"g": 92,
"b": 239
},
"hsl": {
"h": 251.837,
"s": 82.123,
"l": 64.902
},
"oklch": {
"l": 0.5843,
"c": 0.21081,
"h": 287
},
"luminance": 0.17951
}Semantic roles & 50–950 ramp
primary
#795CEF
secondary
#E3ECBA
accent
#DF07B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85