#795EFC#795EFC
#795EFC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.224 H 285.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #795EFC |
|---|---|
| RGB | rgb(121, 94, 252) |
| HSL | hsl(250, 96%, 68%) |
| HSV | hsv(250, 63%, 99%) |
| CMYK | cmyk(52%, 62.7%, 0%, 1.2%) |
| CIE-LAB | lab(50.80, 50.42, -75.41) |
| CIE-LCH | lch(50.80, 90.71, 303.77°) |
| OKLab | oklab(59.72% 0.0588 -0.2164) |
| OKLCH | oklch(59.72% 0.224 285.2) |
| XYZ | xyz(29.4533, 19.0971, 94.2107) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.08
Purpley
#8756E4
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 6.74
Light Indigo
#6D5ACF
ΔE00 6.75
Slate Blue
#6A5ACD
ΔE00 7.18
Lighter Purple
#A55AF4
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EFC #E1FC5E
analogous
#5E92FC #795EFC #C85EFC
triadic
#795EFC #FC795E #5EFC79
tetradic
#795EFC #FC5E92 #E1FC5E #5EFCC8
square
#795EFC #FC5E92 #E1FC5E #5EFCC8
split-complementary
#795EFC #FCC85E #92FC5E
monochromatic
#2904DC #4722FB #795EFC #AB9AFD #DDD6FE
Accessibility & contrast
On white
4.36
#795EFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#795EFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795EFC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795EFC | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F9
Tritanopia (blue-blind)
#4485A5
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #795efc; /* rgb */ color: rgb(121, 94, 252); /* oklch */ color: oklch(59.7% 0.224 285.2);
Tailwind
colors: {
custom: {
50: '#aa8dfe',
500: '#795efc',
950: '#000000',
},
}SCSS
$custom: #795efc; $custom-light: #aa8dfe; $custom-dark: #000000;
JSON
{
"hex": "#795efc",
"rgb": {
"r": 121,
"g": 94,
"b": 252
},
"hsl": {
"h": 250.253,
"s": 96.341,
"l": 67.843
},
"oklch": {
"l": 0.59721,
"c": 0.22421,
"h": 285.2
},
"luminance": 0.19099
}Semantic roles & 50–950 ramp
primary
#795EFC
secondary
#EBF3C3
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86