#795CF5#795CF5
#795CF5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.218 H 286.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #795CF5 |
|---|---|
| RGB | rgb(121, 92, 245) |
| HSL | hsl(251, 88%, 66%) |
| HSV | hsv(251, 62%, 96%) |
| CMYK | cmyk(50.6%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(49.87, 49.51, -73.02) |
| CIE-LCH | lch(49.87, 88.23, 304.14°) |
| OKLab | oklab(58.88% 0.0613 -0.2094) |
| OKLCH | oklch(58.88% 0.218 286.3) |
| XYZ | xyz(28.1888, 18.3104, 88.4174) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.37
Purpley
#8756E4
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.19
Lighter Purple
#A55AF4
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CF5 #D8F55C
analogous
#5C8BF5 #795CF5 #C65CF5
triadic
#795CF5 #F5795C #5CF579
tetradic
#795CF5 #F55C8B #D8F55C #5CF5C6
square
#795CF5 #F55C8B #D8F55C #5CF5C6
split-complementary
#795CF5 #F5C65C #8BF55C
monochromatic
#300CCA #4A22F1 #795CF5 #A896F9 #D8CFFC
Accessibility & contrast
On white
4.50
#795CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#795CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795CF5
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795CF5 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4A81A0
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #795cf5; /* rgb */ color: rgb(121, 92, 245); /* oklch */ color: oklch(58.9% 0.218 286.3);
Tailwind
colors: {
custom: {
50: '#a98cf9',
500: '#795cf5',
950: '#000000',
},
}SCSS
$custom: #795cf5; $custom-light: #a98cf9; $custom-dark: #000000;
JSON
{
"hex": "#795cf5",
"rgb": {
"r": 121,
"g": 92,
"b": 245
},
"hsl": {
"h": 251.373,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.58884,
"c": 0.21814,
"h": 286.3
},
"luminance": 0.18312
}Semantic roles & 50–950 ramp
primary
#795CF5
secondary
#E6F0BD
accent
#E500BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85