#795EFD#795EFD
#795EFD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.225 H 285.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #795EFD |
|---|---|
| RGB | rgb(121, 94, 253) |
| HSL | hsl(250, 98%, 68%) |
| HSV | hsv(250, 63%, 99%) |
| CMYK | cmyk(52.2%, 62.8%, 0%, 0.8%) |
| CIE-LAB | lab(50.87, 50.71, -75.84) |
| CIE-LCH | lch(50.87, 91.23, 303.77°) |
| OKLab | oklab(59.8% 0.0587 -0.2176) |
| OKLCH | oklch(59.8% 0.225 285.1) |
| XYZ | xyz(29.6122, 19.1606, 95.0475) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.13
Purpley
#8756E4
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 6.85
Light Indigo
#6D5ACF
ΔE00 6.87
Slate Blue
#6A5ACD
ΔE00 7.30
Lighter Purple
#A55AF4
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EFD #E2FD5E
analogous
#5E92FD #795EFD #C95EFD
triadic
#795EFD #FD795E #5EFD79
tetradic
#795EFD #FD5E92 #E2FD5E #5EFDC9
square
#795EFD #FD5E92 #E2FD5E #5EFDC9
split-complementary
#795EFD #FDC95E #92FD5E
monochromatic
#2803DE #4722FC #795EFD #AB9AFE #DED7FF
Accessibility & contrast
On white
4.35
#795EFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#795EFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795EFD
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795EFD | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4385A5
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #795efd; /* rgb */ color: rgb(121, 94, 253); /* oklch */ color: oklch(59.8% 0.225 285.1);
Tailwind
colors: {
custom: {
50: '#aa8dff',
500: '#795efd',
950: '#000000',
},
}SCSS
$custom: #795efd; $custom-light: #aa8dff; $custom-dark: #000000;
JSON
{
"hex": "#795efd",
"rgb": {
"r": 121,
"g": 94,
"b": 253
},
"hsl": {
"h": 250.189,
"s": 97.546,
"l": 68.039
},
"oklch": {
"l": 0.59798,
"c": 0.22542,
"h": 285.1
},
"luminance": 0.19162
}Semantic roles & 50–950 ramp
primary
#795EFD
secondary
#EBF4C3
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86